-
Notifications
You must be signed in to change notification settings - Fork 968
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
[naga] implement pointer_composite_access
WGSL language extension
#6913
[naga] implement pointer_composite_access
WGSL language extension
#6913
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
00a89cb
to
1f6c1e8
Compare
pointer_composite_access
extensionpointer_composite_access
WGSL language extension
pointer_composite_access
WGSL language extensionpointer_composite_access
WGSL language extension
Happy to take a crack at reviewing this in the next couple of days. |
I think I'm going to be able to review this on Tuesday of this coming week. 🫡 See you then! |
Signed-off-by: sagudev <[email protected]>
Signed-off-by: sagudev <[email protected]>
Signed-off-by: sagudev <[email protected]>
Signed-off-by: sagudev <[email protected]>
9ac9516
to
01ee86e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Added some tests for nested accesses, and I'm satisfied with letting this land. 😀 Yay!
Sorry for taking so long to get to this review. 💦
Connections
Fix #6192
Description
Implementd
pointer_composite_access
WGSL language extension, by removing:wgpu/naga/src/front/wgsl/error.rs
Line 216 in 3036413
and replacing it with code that maps declares pointer as references.
fc3503a is not standalone as tests are fixed in next commit, but it's reviewable per commit.
Testing
CTS run in servo and added tests. Servo changes (contain expectation changes in two commits, first on enabled extension second one on implemented extension): servo/servo@main...sagudev:servo:pointer_composite_access. Related uniformity test are also failing in firefox nightly so this seems to be another naga problem and first expectation is now fixed on trunk by #6920
Checklist
cargo fmt
.taplo format
.cargo clippy
. If applicable, add:--target wasm32-unknown-unknown
--target wasm32-unknown-emscripten
cargo xtask test
to run tests.CHANGELOG.md
. See simple instructions inside file.