LibWeb/WebGL2: Implement COPY_READ_BUFFER_BINDING parameter

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

View file

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