Skip to content

Commit

Permalink
fix: getBindGroupLayout always illegal invocation (denoland#9684)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Mar 10, 2021
1 parent f800dfc commit db96be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op_crates/webgpu/01_webgpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit db96be7

Please sign in to comment.