LibWeb/WebGL2: Implement TEXTURE_BINDING_2D_ARRAY parameter

This commit is contained in:
Luke Wilde 2024-12-27 11:35:08 +00:00 committed by Alexander Kalenik
parent b8416570e0
commit 47699360e5
Notes: github-actions[bot] 2025-01-08 14:58:38 +00:00

View file

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