From 33675caf6fdc25af475ec16930f86c5ce0c324fc Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Mon, 4 Dec 2023 14:19:05 -0800 Subject: [PATCH] Compat: Fix in_pass_misc.spec.ts for textureBindingViewDimension --- .../validation/resource_usages/texture/in_render_misc.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/webgpu/api/validation/resource_usages/texture/in_render_misc.spec.ts b/src/webgpu/api/validation/resource_usages/texture/in_render_misc.spec.ts index b52967743918..6f5feb55ce97 100644 --- a/src/webgpu/api/validation/resource_usages/texture/in_render_misc.spec.ts +++ b/src/webgpu/api/validation/resource_usages/texture/in_render_misc.spec.ts @@ -361,6 +361,9 @@ g.test('subresources,texture_usages_in_copy_and_render_pass') GPUTextureUsage.STORAGE_BINDING | GPUTextureUsage.RENDER_ATTACHMENT, size: [kTextureSize, kTextureSize, 1], + ...(t.isCompatibility && { + textureBindingViewDimension: '2d-array', + }), }); const UseTextureOnCommandEncoder = (