diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-03-10 10:15:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-10 10:15:57 +0100 |
commit | db96be7cdc3b9d8c8d5373e90ca6c2c57599529b (patch) | |
tree | f861291ddbba5c0be79f9c346e3226cb6151a22b /op_crates/webgpu/01_webgpu.js | |
parent | f800dfc3cbce9a701c00d7827338db5c1bf8899c (diff) |
fix: getBindGroupLayout always illegal invocation (#9684)
Diffstat (limited to 'op_crates/webgpu/01_webgpu.js')
-rw-r--r-- | op_crates/webgpu/01_webgpu.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 }); |