Skip to content

Commit

Permalink
Skip textureNumSamples tests on non-multisampled formats (#4191)
Browse files Browse the repository at this point in the history
* Compat: Disable multisampling tests on integer formats

Discussed in gpuweb/gpuweb#5004
Landed in Compat proposal in gpuweb/gpuweb#5053

* Apply suggestions from code review

* Skip textureNumSamples tests on non-multisampled formats

Compat no longer supports multisampling with integer texture formats.
Skip tests which require multisampled formats.

* Update to new multisample format support method.

---------

Co-authored-by: Kai Ninomiya <[email protected]>
Co-authored-by: Kai Ninomiya <[email protected]>
  • Loading branch information
3 people authored Feb 24, 2025
1 parent 8ea35a6 commit 5deb620
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Parameters
const { stage, sampled_type } = t.params;
const { format } = kSampleTypeInfo[sampled_type];

t.skipIfTextureFormatNotMultisampled(format);

const sampleCount = 4;
const texture = t.createTextureTracked({
format,
Expand Down

0 comments on commit 5deb620

Please sign in to comment.