From 9045fed4a68398072d1d02191753a9fb489f6dc7 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Thu, 5 Sep 2024 17:31:09 +0200 Subject: [PATCH] Fixes for no attachments being an error in webgpu/compat (#3934) --- .../api/validation/render_pipeline/unsupported_wgsl.spec.ts | 2 ++ 1 file changed, 2 insertions(+) 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 27b25f34af49..a74e8900904c 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 @@ -232,6 +232,7 @@ g.test('unsupportedStorageTextureFormats,renderPipeline') t.doCreateRenderPipelineTest(async, isValid, { layout: 'auto', vertex: { module, entryPoint }, + depthStencil: { format: 'depth32float', depthWriteEnabled: true, depthCompare: 'always' }, }); }); @@ -305,5 +306,6 @@ g.test('textureLoad_with_depth_textures,renderPipeline') t.doCreateRenderPipelineTest(async, isValid, { layout: 'auto', vertex: { module, entryPoint }, + depthStencil: { format: 'depth32float', depthWriteEnabled: true, depthCompare: 'always' }, }); });