diff --git a/src/webgpu/api/validation/compute_pipeline.spec.ts b/src/webgpu/api/validation/compute_pipeline.spec.ts index 790f25897a94..704f09fc2475 100644 --- a/src/webgpu/api/validation/compute_pipeline.spec.ts +++ b/src/webgpu/api/validation/compute_pipeline.spec.ts @@ -718,6 +718,7 @@ g.test('resource_compatibility') !t.hasLanguageFeature('readonly_and_readwrite_storage_textures'), 'Storage textures require language feature' ); + t.skipIfTextureViewDimensionNotSupported(wgslResource.texture?.viewDimension); const layout = t.device.createPipelineLayout({ bindGroupLayouts: [ diff --git a/src/webgpu/api/validation/render_pipeline/resource_compatibility.spec.ts b/src/webgpu/api/validation/render_pipeline/resource_compatibility.spec.ts index 1d2c582dc036..8c516ebb3b85 100644 --- a/src/webgpu/api/validation/render_pipeline/resource_compatibility.spec.ts +++ b/src/webgpu/api/validation/render_pipeline/resource_compatibility.spec.ts @@ -55,6 +55,7 @@ g.test('resource_compatibility') wgslResource.storageTexture.access !== 'read-only')), 'Storage buffers and textures cannot be used in vertex shaders' ); + t.skipIfTextureViewDimensionNotSupported(wgslResource.texture?.viewDimension); const emptyVS = ` @vertex fn main() -> @builtin(position) vec4f {