LibWeb/WebGL2: Implement UNIFORM_BUFFER_BINDING parameter

This commit is contained in:
Luke Wilde 2024-12-27 11:32:04 +00:00 committed by Alexander Kalenik
parent 9b4bad4255
commit b8416570e0
Notes: github-actions[bot] 2025-01-08 14:58:47 +00:00

View file

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