From db96be7cdc3b9d8c8d5373e90ca6c2c57599529b Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 10 Mar 2021 10:15:57 +0100 Subject: fix: getBindGroupLayout always illegal invocation (#9684) --- op_crates/webgpu/01_webgpu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'op_crates/webgpu/01_webgpu.js') diff --git a/op_crates/webgpu/01_webgpu.js b/op_crates/webgpu/01_webgpu.js index 7a078619e..743f875e9 100644 --- a/op_crates/webgpu/01_webgpu.js +++ b/op_crates/webgpu/01_webgpu.js @@ -2315,7 +2315,7 @@ * @returns {GPUBindGroupLayout} */ getBindGroupLayout(index) { - webidl.assertBranded(this, GPURenderPipeline); + webidl.assertBranded(this, GPUComputePipeline); const prefix = "Failed to execute 'getBindGroupLayout' on 'GPUComputePipeline'"; webidl.requiredArguments(arguments.length, 1, { prefix }); -- cgit v1.2.3