From f4b0460624f83a2401840cc3d9cfa540b47d0b4a Mon Sep 17 00:00:00 2001 From: Greggman Date: Wed, 27 Nov 2024 16:46:49 -0800 Subject: [PATCH] Update src/webgpu/api/operation/sampling/sampler_texture.spec.ts --- src/webgpu/api/operation/sampling/sampler_texture.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgpu/api/operation/sampling/sampler_texture.spec.ts b/src/webgpu/api/operation/sampling/sampler_texture.spec.ts index e510fb87f31a..1304d2d81608 100644 --- a/src/webgpu/api/operation/sampling/sampler_texture.spec.ts +++ b/src/webgpu/api/operation/sampling/sampler_texture.spec.ts @@ -135,7 +135,7 @@ The result should be a texture that has a value in each texel unique to a partic return samplerId; } - // Note: We are storing textureId, samplerId in th texture. That suggests we could use rgba32uint + // Note: We are storing textureId, samplerId in the texture. That suggests we could use rgba32uint // texture but we can't do that because we want to be able to set the samplers to linear. // Similarly we can't use rgba32float since they're not filterable by default. // So, we encode via rgba8unorm where rg is a 16bit textureId and ba is a 16bit samplerId