Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compat: skip 'cube-array' validation tests. #4032

Merged

Conversation

SenorBlanco
Copy link
Contributor

Cube arrays are unsupported in Compatibility mode.

@SenorBlanco SenorBlanco requested a review from greggman November 5, 2024 19:38
Copy link
Contributor

@greggman greggman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - see comment

@@ -718,6 +718,10 @@ g.test('resource_compatibility')
!t.hasLanguageFeature('readonly_and_readwrite_storage_textures'),
'Storage textures require language feature'
);
t.skipIf(t.isCompatibility && wgslResource.texture !== undefined &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be

    t.skipIfTextureViewDimensionNotSupported(wgslResource.texture?.viewDimension);

Same below

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, done.

@SenorBlanco SenorBlanco force-pushed the skip-cube-array-validation-compat branch from c0c2949 to 12e277b Compare November 5, 2024 20:03
Cube arrays are unsupported in Compatibility mode.
@SenorBlanco SenorBlanco force-pushed the skip-cube-array-validation-compat branch from 12e277b to b7271ba Compare November 5, 2024 20:06
@SenorBlanco SenorBlanco merged commit 8a781f5 into gpuweb:main Nov 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants