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 a50700b commit cf9822cCopy full SHA for cf9822c
examples/jsm/renderers/webgpu/WebGPURenderPipelines.js
@@ -145,6 +145,7 @@ class WebGPURenderPipelines {
145
146
const primitiveTopology = this._getPrimitiveTopology( object );
147
const rasterizationState = this._getRasterizationStateDescriptor( object );
148
+ const depthCompare = this._getDepthCompare( material );
149
150
pipeline = device.createRenderPipeline( {
151
layout: layout,
@@ -158,7 +159,7 @@ class WebGPURenderPipelines {
158
159
} ],
160
depthStencilState: {
161
depthWriteEnabled: material.depthWrite,
- depthCompare: this._getDepthCompare( material ),
162
+ depthCompare: depthCompare,
163
format: GPUTextureFormat.Depth24PlusStencil8,
164
},
165
vertexState: {
0 commit comments