Skip to content

Don't trail with empty BGLs in default pipeline layout#3505

Merged
kainino0x merged 1 commit intogpuweb:mainfrom
kainino0x:auto-tail
Oct 6, 2022
Merged

Don't trail with empty BGLs in default pipeline layout#3505
kainino0x merged 1 commit intogpuweb:mainfrom
kainino0x:auto-tail

Conversation

@kainino0x
Copy link
Copy Markdown
Contributor

The default pipeline layout algorithm should only output BGLs up to the highest group index used, rather than up to the maximum.

Without this, draw/dispatch would require setBindGroup for all 4 groups, even if you use fewer.

This is related to issue #2043, but I think only holes in the middle of the layout are an open question.

The default pipeline layout algorithm should only output BGLs up to the
highest `group` index used, rather than up to the maximum.

Without this, draw/dispatch would require setBindGroup for all 4 groups,
even if you use fewer.
@kainino0x kainino0x added the tacit resolution queue Editors have agreed and intend to land if no feedback is given label Oct 5, 2022
@kainino0x kainino0x added this to the V1.0 milestone Oct 5, 2022
@kainino0x kainino0x requested a review from Kangz October 5, 2022 00:44
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Oct 5, 2022

Previews, as seen when this build job started (6325a3d):
WebGPU webgpu.idl | Explainer | Correspondence Reference
WGSL grammar.js | wgsl.lalr.txt

@kainino0x
Copy link
Copy Markdown
Contributor Author

Tacit resolution period is not over yet, but landing tentatively so I can keep editing with this landed.

@kainino0x kainino0x merged commit 5351016 into gpuweb:main Oct 6, 2022
@kainino0x kainino0x deleted the auto-tail branch October 6, 2022 20:58
@kainino0x kainino0x removed the tacit resolution queue Editors have agreed and intend to land if no feedback is given label Oct 10, 2022
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