Fix WebGPU error when sampling depth texture in shader which requires explicit UnfilterableFloat sampler type
This commit is contained in:
@@ -37,6 +37,7 @@ public:
|
||||
bool ReadOnly = false;
|
||||
uint32 DepthSlice = WGPU_DEPTH_SLICE_UNDEFINED;
|
||||
WGPUTextureFormat Format = WGPUTextureFormat_Undefined;
|
||||
WGPUTextureSampleType SampleType = WGPUTextureSampleType_Undefined;
|
||||
GPUResourceViewPtrWebGPU Ptr;
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user