Fix WebGPU error when sampling depth texture in shader which requires explicit UnfilterableFloat sampler type
This commit is contained in:
@@ -760,7 +760,7 @@ void GPUContextWebGPU::OnDrawCall()
|
||||
if (_pipelineDirty)
|
||||
{
|
||||
_pipelineDirty = false;
|
||||
WGPURenderPipeline pipeline = _pipelineState ? _pipelineState->GetPipeline(_pipelineKey) : nullptr;
|
||||
WGPURenderPipeline pipeline = _pipelineState ? _pipelineState->GetPipeline(_pipelineKey, _shaderResources) : nullptr;
|
||||
wgpuRenderPassEncoderSetPipeline(_renderPass, pipeline);
|
||||
RENDER_STAT_PS_STATE_CHANGE();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user