From d7511bcaacbf42e1b410ea9f0232591a23e17b31 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Tue, 13 Aug 2024 16:59:00 -0700 Subject: [PATCH] Compat: Fix textureLoad with depth texture test --- .../api/validation/render_pipeline/unsupported_wgsl.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webgpu/compat/api/validation/render_pipeline/unsupported_wgsl.spec.ts b/src/webgpu/compat/api/validation/render_pipeline/unsupported_wgsl.spec.ts index 805203870903..27b25f34af49 100644 --- a/src/webgpu/compat/api/validation/render_pipeline/unsupported_wgsl.spec.ts +++ b/src/webgpu/compat/api/validation/render_pipeline/unsupported_wgsl.spec.ts @@ -267,7 +267,7 @@ g.test('textureLoad_with_depth_textures,computePipeline') `, }); - const isValid = !t.isCompatibility; + const isValid = !t.isCompatibility || entryPoint === 'csWithoutDepthUsage'; t.doCreateComputePipelineTest(async, isValid, { layout: 'auto', compute: { module, entryPoint }, @@ -301,7 +301,7 @@ g.test('textureLoad_with_depth_textures,renderPipeline') `, }); - const isValid = !t.isCompatibility; + const isValid = !t.isCompatibility || entryPoint === 'vsWithoutDepthUsage'; t.doCreateRenderPipelineTest(async, isValid, { layout: 'auto', vertex: { module, entryPoint },