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!] },