LibWeb/WebGL2: Implement MAX_VARYING_COMPONENTS parameter

This commit is contained in:
Luke Wilde 2024-12-27 11:36:37 +00:00 committed by Alexander Kalenik
parent c4ff1a1eb0
commit aa2eb7ac7d
Notes: github-actions[bot] 2025-01-08 14:58:02 +00:00

View file

@ -191,6 +191,7 @@ static void generate_get_parameter(SourceGenerator& generator, int webgl_version
{ "COPY_WRITE_BUFFER_BINDING"sv, { "WebGLBuffer"sv }, 2 },
{ "MAX_ELEMENT_INDEX"sv, { "GLint64"sv }, 2 },
{ "MAX_FRAGMENT_UNIFORM_BLOCKS"sv, { "GLint"sv }, 2 },
{ "MAX_VARYING_COMPONENTS"sv, { "GLint"sv }, 2 },
};
auto is_primitive_type = [](StringView type) {