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: update pipeline_bind_group_compat for 0 storage bufs/textures #4095

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

greggman
Copy link
Contributor

No description provided.

@greggman greggman requested a review from shrekshao December 16, 2024 05:50
Copy link
Contributor

@shrekshao shrekshao left a comment

Choose a reason for hiding this comment

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

LGTM with comments

t.isCompatibility &&
resourceIsStorageTexture(plResourceType) &&
!(t.device.limits.maxStorageTexturesInFragmentStage! >= 1),
`maxStorageTexturesInFragmentStage(${t.device.limits.maxStorageTexturesInFragmentStage} is not >= 1`
Copy link
Contributor

Choose a reason for hiding this comment

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

missing a ')' after '}'.

t.isCompatibility &&
resourceIsStorageBuffer(plResourceType) &&
!(t.device.limits.maxStorageBuffersInFragmentStage! >= 1),
`maxStorageBuffersInFragmentStage(${t.device.limits.maxStorageBuffersInFragmentStage} is not >= 1`
Copy link
Contributor

Choose a reason for hiding this comment

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

missing a ')' after '}'.

@greggman greggman force-pushed the pipeline_bind_group_compat branch from 6df7a29 to edc3e9a Compare December 17, 2024 00:52
@greggman greggman enabled auto-merge (squash) December 17, 2024 00:52
@greggman greggman merged commit 71d7250 into gpuweb:main Dec 17, 2024
1 check passed
@greggman greggman deleted the pipeline_bind_group_compat branch December 17, 2024 01:07
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