From ba2bd8ab91d41b60b879b134d850d326eb86ef12 Mon Sep 17 00:00:00 2001 From: Greggman Date: Thu, 26 Dec 2024 01:40:12 +0900 Subject: [PATCH] Compat: Fix texture-utils to for 0 storage buffers in frag stage (#4115) The new validation triggered this issue. --- .../shader/execution/expression/call/builtin/texture_utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgpu/shader/execution/expression/call/builtin/texture_utils.ts b/src/webgpu/shader/execution/expression/call/builtin/texture_utils.ts index 11f4e367612..4cfd0039ef2 100644 --- a/src/webgpu/shader/execution/expression/call/builtin/texture_utils.ts +++ b/src/webgpu/shader/execution/expression/call/builtin/texture_utils.ts @@ -5068,7 +5068,7 @@ ${stageWGSL} entries: [ { binding: 0, - visibility: GPUShaderStage.FRAGMENT | GPUShaderStage.COMPUTE, + visibility: GPUShaderStage.COMPUTE, buffer: { type: 'storage', },