diff --git a/engine/gfx/webgpu/src/gfx_webgpu.cpp b/engine/gfx/webgpu/src/gfx_webgpu.cpp index 2300450..f24d269 100755 --- a/engine/gfx/webgpu/src/gfx_webgpu.cpp +++ b/engine/gfx/webgpu/src/gfx_webgpu.cpp @@ -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;