Skip to content

Commit

Permalink
Compat: fix float16(32)-renderable tests (compat)
Browse files Browse the repository at this point in the history
  • Loading branch information
shrekshao committed Jan 24, 2025
1 parent 1e8a378 commit 945aaf9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,16 @@ g.test('multisample')
.desc(`Test that you can not call copyTextureToTexture with multisample textures in compat mode.`)
.params(u =>
u
.beginSubcases()
.combine('format', kAllTextureFormats)
.beginSubcases()
.filter(({ format }) => {
const info = kTextureFormatInfo[format];
return info.multisample && !info.feature;
})
)
.beforeAllSubcases(t => {
t.selectDeviceForRenderableColorFormatOrSkipTestCase(t.params.format);
})
.fn(t => {
const { format } = t.params;
const { blockWidth, blockHeight } = kTextureFormatInfo[format];
Expand Down

0 comments on commit 945aaf9

Please sign in to comment.