Skip to content

Conversation

Vecvec
Copy link
Owner

@Vecvec Vecvec commented Dec 8, 2023

more merge

jimblandy and others added 24 commits December 4, 2023 12:20
When reporting errors in construction expressions, use the span of the
constructor itself (that is, the type name) in preference to the span
of the overall expression. This makes errors easier to follow.
When a label in a WGSL front end error has an undefined span, omit the
label from the error message. This is not great, but because of the
way Naga IR represents local variable references it is hard to get the
right span, and omitting the label better than panicking in `unwrap`,
since the error message has a general message anyway.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This prepares for introducing a similar test for global variables.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor Fitzgerald <[email protected]>
Co-authored-by: Connor Fitzgerald <[email protected]>
Co-authored-by: JMS55 <[email protected]>
Co-authored-by: Ashley Ruglys <[email protected]>
Co-authored-by: Connor Fitzgerald <[email protected]>
…calls (#4726)

* Add reusable buffer mappings for WASM

* Run cargo fmt

* Update CHANGELOG.md

* Update web.rs

* Add documentation for WebBuffer struct
* Remove expose-ids feature

* Changelog
cbindgen spins out of control if wgpu_hal reexports a wgpu_types type using pub type in stead of pub use while keeping the same name.
…nUniform`, not just buffer binding arrays.

Apply the `NonUniform` decoration to the results of all access chains rooted in binding arrays that use non-uniform values as indices, regardless of the binding array's element type and address space. Previously, Naga only decorated non-uniform access chains for binding arrays of buffers.
@Vecvec Vecvec merged commit 06dc329 into Vecvec:ray-tracing Dec 8, 2023
Vecvec pushed a commit that referenced this pull request Jul 28, 2024
Vecvec added a commit that referenced this pull request Aug 29, 2024
Vecvec added a commit that referenced this pull request Sep 11, 2024
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.