-
Notifications
You must be signed in to change notification settings - Fork 923
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] Allow dynamic indexing of array #6188
Conversation
895c756
to
f7cbb7c
Compare
Servo's CTS run: https://github.com/sagudev/servo/actions/runs/10656885185/job/29537501039 (click view raw log, then find string
|
First CTS failures is from https://github.com/gpuweb/cts/blob/9b30f7a02d172ce36d138c02614d0a5a1edbfa72/src/webgpu/shader/execution/expression/call/builtin/texture_utils.ts#L3318, because servo does not support GPUExternalTexture, second is just timeout because tests would need to be spillted more (or servo should be faster). TL;DR all ok |
f7cbb7c
to
bdcd77b
Compare
bdcd77b
to
fc694a8
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; let's see what @teoxoy has to say now. 😀
Note that this PR must be squashed when merged. |
fc694a8
to
6c78051
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.
Overall, this looks really reasonable. Not approving yet because:
- I have some more tweaks I want to push
- I haven't actually looked over the test changes yet.
I should be able to finish those tomorrow morning.
What blocking this? Is there something I need to do? |
@sagudev: I don't see anything that's blocking; I see no objection to this PR merging, concrete or abstract, and there's an approving review (from me). We definitely dropped the ball on this one, sorry about that! @gfx-rs/naga, unless you object in the next 24ish hours, I'm gonna merge this. |
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.
This looks good to me.
Bring gfx-rs/naga#723 back from the dead. Signed-off-by: sagudev <[email protected]> Co-authored-by: Dzmitry Malyshau <[email protected]> Co-authored-by: Jim Blandy <[email protected]>
83db494
to
b12f314
Compare
Connections
For arrays, at least, this fixes #4337, second commit is just gfx-rs/naga#723 ported to trunk.
Description
See commits and linked PR.
Testing
There are some new tests and I did CTS run in servo.
Checklist
cargo fmt
.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.