From 27a408f86c9649dc43e3f02b4181b39a79c7a3cd Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Wed, 6 Dec 2023 11:30:15 -0800 Subject: [PATCH] Compat: format reinterpretation address review nit from https://github.com/gpuweb/cts/pull/3211 --- src/webgpu/compat/api/validation/texture/createTexture.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgpu/compat/api/validation/texture/createTexture.spec.ts b/src/webgpu/compat/api/validation/texture/createTexture.spec.ts index 467da2ef13a0..4ce2d4556ae7 100644 --- a/src/webgpu/compat/api/validation/texture/createTexture.spec.ts +++ b/src/webgpu/compat/api/validation/texture/createTexture.spec.ts @@ -129,7 +129,7 @@ g.test('format_reinterpretation') }) .fn(t => { const { format } = t.params; - const info = kTextureFormatInfo[t.params.format]; + const info = kTextureFormatInfo[format]; const formatPairs = [ { format, viewFormats: [info.baseFormat!] },