mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
fix: getBindGroupLayout always illegal invocation (#9684)
This commit is contained in:
parent
f800dfc3cb
commit
db96be7cdc
1 changed files with 1 additions and 1 deletions
|
@ -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 });
|
||||
|
|
Loading…
Reference in a new issue