Skip to content

Commit

Permalink
Compat: Fix pipeline_bind_group_compat.spec.ts for 0 storage bufs/texs (
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman authored Jan 23, 2025
1 parent 047a31e commit 552c853
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -788,14 +788,14 @@ g.test('bgl_resource_type_mismatch')

t.skipIf(
t.isCompatibility &&
resourceIsStorageTexture(plResourceType) &&
(resourceIsStorageTexture(plResourceType) || resourceIsStorageTexture(bgResourceType)) &&
!(t.device.limits.maxStorageTexturesInFragmentStage! >= 1),
`maxStorageTexturesInFragmentStage(${t.device.limits.maxStorageTexturesInFragmentStage}) is not >= 1`
);

t.skipIf(
t.isCompatibility &&
resourceIsStorageBuffer(plResourceType) &&
(resourceIsStorageBuffer(plResourceType) || resourceIsStorageBuffer(bgResourceType)) &&
!(t.device.limits.maxStorageBuffersInFragmentStage! >= 1),
`maxStorageBuffersInFragmentStage(${t.device.limits.maxStorageBuffersInFragmentStage}) is not >= 1`
);
Expand Down

0 comments on commit 552c853

Please sign in to comment.