From dc9039b2d902f8d67169f10e998b3cdf05f6f8fb Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Mon, 23 Dec 2024 14:38:54 +0900 Subject: [PATCH] Compat: Fix texture-utils to for 0 storage buffers in frag stage 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', },