Skip to content

Commit

Permalink
Compat: skip 'cube-array' validation tests.
Browse files Browse the repository at this point in the history
Cube arrays are unsupported in Compatibility mode.
  • Loading branch information
SenorBlanco committed Nov 5, 2024
1 parent 8a80203 commit b7271ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/webgpu/api/validation/compute_pipeline.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b7271ba

Please sign in to comment.