LibWeb/WebGL2: Implement MAX_VERTEX_UNIFORM_BLOCKS parameter

This commit is contained in:
Luke Wilde 2024-12-13 19:37:26 +00:00 committed by Alexander Kalenik
parent a19fb0a759
commit f1d194a97a

View File

@ -178,6 +178,7 @@ static void generate_get_parameter(SourceGenerator& generator, int webgl_version
{ "MAX_UNIFORM_BUFFER_BINDINGS"sv, { "GLint"sv }, 2 },
{ "UNIFORM_BUFFER_OFFSET_ALIGNMENT"sv, { "GLint"sv }, 2 },
{ "MAX_DRAW_BUFFERS"sv, { "GLint"sv }, 2 },
{ "MAX_VERTEX_UNIFORM_BLOCKS"sv, { "GLint"sv }, 2 },
};
auto is_primitive_type = [](StringView type) {