LibWeb/WebGL2: Implement COPY_WRITE_BUFFER_BINDING parameter

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

View file

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