LibWeb/WebGL2: Implement MAX_UNIFORM_BUFFER_BINDINGS parameter

This commit is contained in:
Luke Wilde 2024-12-13 19:20:52 +00:00 committed by Alexander Kalenik
parent 0e5e0d922f
commit 2adacbc8bb
Notes: github-actions[bot] 2024-12-14 08:08:49 +00:00

View file

@ -175,6 +175,7 @@ static void generate_get_parameter(SourceGenerator& generator, int webgl_version
{ "MAX_COLOR_ATTACHMENTS"sv, { "GLint"sv }, 2 },
{ "MAX_VERTEX_UNIFORM_COMPONENTS"sv, { "GLint"sv }, 2 },
{ "MAX_UNIFORM_BLOCK_SIZE"sv, { "GLint64"sv }, 2 },
{ "MAX_UNIFORM_BUFFER_BINDINGS"sv, { "GLint"sv }, 2 },
};
auto is_primitive_type = [](StringView type) {