We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6faed83 commit 900aee0Copy full SHA for 900aee0
src/library_webgpu.js
@@ -1610,7 +1610,7 @@ var LibraryWebGPU = {
1610
return undefined;
1611
}
1612
1613
- var depthSlice = {{{ gpu.makeGetU32('caPtr', C_STRUCTS.WGPURenderPassColorAttachment.depthSlice) }}};
+ var depthSlice = {{{ makeGetValue('caPtr', C_STRUCTS.WGPURenderPassColorAttachment.depthSlice, 'i32') }}};
1614
{{{ gpu.convertSentinelToUndefined('depthSlice') }}}
1615
1616
var loadOpInt = {{{ gpu.makeGetU32('caPtr', C_STRUCTS.WGPURenderPassColorAttachment.loadOp) }}};
0 commit comments