LibWeb/WebGL2: Implement MAX_COMBINED_UNIFORM_BLOCKS parameter

This commit is contained in:
Luke Wilde 2024-12-13 19:46:33 +00:00 committed by Alexander Kalenik
parent 5d383fdd11
commit ced5eea610
Notes: github-actions[bot] 2024-12-14 08:08:08 +00:00

View file

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