diff --git a/src/webgpu/api/operation/rendering/depth_bias.spec.ts b/src/webgpu/api/operation/rendering/depth_bias.spec.ts index 03caff3b25d9..17e80c5da94c 100644 --- a/src/webgpu/api/operation/rendering/depth_bias.spec.ts +++ b/src/webgpu/api/operation/rendering/depth_bias.spec.ts @@ -304,6 +304,12 @@ g.test('depth_bias') }, ] as const) ) + .beforeAllSubcases(t => { + t.skipIf( + t.isCompatibility && t.params.biasClamp !== 0, + 'non zero depthBiasClamp is not supported in compatibility mode' + ); + }) .fn(t => { t.runDepthBiasTest('depth32float', t.params); }); @@ -346,6 +352,12 @@ g.test('depth_bias_24bit_format') }, ] as const) ) + .beforeAllSubcases(t => { + t.skipIf( + t.isCompatibility && t.params.biasClamp !== 0, + 'non zero depthBiasClamp is not supported in compatibility mode' + ); + }) .fn(t => { const { format } = t.params; t.runDepthBiasTestFor24BitFormat(format, t.params);