From 694e61c3a610a6f67847d1d0c384e24463702bb5 Mon Sep 17 00:00:00 2001 From: Greggman Date: Tue, 29 Oct 2024 05:31:14 +0900 Subject: [PATCH] Fix textureSample:sampled_2d_coords offset (#4014) textureSample:sampled_2d_coords had offset always on --- .../execution/expression/call/builtin/textureSample.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgpu/shader/execution/expression/call/builtin/textureSample.spec.ts b/src/webgpu/shader/execution/expression/call/builtin/textureSample.spec.ts index b469cc7f01f4..36492276a4b4 100644 --- a/src/webgpu/shader/execution/expression/call/builtin/textureSample.spec.ts +++ b/src/webgpu/shader/execution/expression/call/builtin/textureSample.spec.ts @@ -190,7 +190,7 @@ Parameters: method: samplePoints, descriptor, derivatives: true, - offset: true, + offset, hashInputs: [format, samplePoints, modeU, modeV, minFilter, offset], }).map(({ coords, derivativeMult, offset }) => { return {