LibWeb/WebGL2: Implement MAX_FRAGMENT_INPUT_COMPONENTS parameter

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

View file

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