Fix WebGPU compile error due to last commit
This commit is contained in:
parent
a0d92be759
commit
a52cd3d71c
1 changed files with 1 additions and 5 deletions
|
@ -420,10 +420,6 @@ GFXPipeline* GFXWebGPU::create_graphics_pipeline(const GFXGraphicsPipelineCreate
|
|||
entry.buffer.type = WGPUBufferBindingType_Uniform;
|
||||
}
|
||||
break;
|
||||
case GFXBindingType::Texture: {
|
||||
entry.texture.sampleType = WGPUTextureSampleType_Force32;
|
||||
}
|
||||
break;
|
||||
case GFXBindingType::StorageImage:
|
||||
{
|
||||
entry.storageTexture.access = WGPUStorageTextureAccess_WriteOnly;
|
||||
|
@ -579,7 +575,7 @@ void GFXWebGPU::submit(GFXCommandBuffer* command_buffer, const platform::window_
|
|||
|
||||
uint64_t last_bind_group_hash = 0;
|
||||
|
||||
const auto try_bind_group = [&] -> bool {
|
||||
const auto try_bind_group = [&]() -> bool {
|
||||
if(current_pipeline == nullptr)
|
||||
return false;
|
||||
|
||||
|
|
Reference in a new issue