mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-11 06:29:11 +00:00
Fix HelloDepthStencil example
This commit is contained in:
parent
ccf1fa2330
commit
0c50889bfa
@ -283,6 +283,7 @@ void frame() {
|
|||||||
|
|
||||||
.SetStencilReference(0x1)
|
.SetStencilReference(0x1)
|
||||||
.SetRenderPipeline(planePipeline)
|
.SetRenderPipeline(planePipeline)
|
||||||
|
.SetBindGroup(0, bindGroup[0])
|
||||||
.SetVertexBuffers(0, 1, &planeBuffer, vertexBufferOffsets)
|
.SetVertexBuffers(0, 1, &planeBuffer, vertexBufferOffsets)
|
||||||
.DrawElements(6, 1, 0, 0)
|
.DrawElements(6, 1, 0, 0)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user