Implement WGSL uniformity analysis #4369
Labels
area: validation
Issues related to validation, diagnostics, and error handling
naga
Shader Translator
Milestone
Naga should implement the uniformity analysis introduced in gpuweb/gpuweb@0561a0ee.
I think this would replace the uniformity analysis we have now. It could still be enabled by
ValidationFlags::CONTROL_FLOW_UNIFORMITY
.The algorithm given in the spec looks, at first glance, like it should be straightforward to implement on Naga's IR, even though we don't have handles/indices for statements, only expressions.
There are also some more ideas on how to update our analysis in #4320.
The text was updated successfully, but these errors were encountered: