- Apr 24, 2021
-
-
Dzmitry Malyshau authored
-
- Apr 23, 2021
-
-
Gordon-F authored
-
Gordon-F authored
-
Dzmitry Malyshau authored
-
Ashley authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
- Apr 22, 2021
-
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
* [wgsl-in] typedef Span * [wgsl-in] trailing comma for case list * [wgsl-in] trailing comma for constructors * Review fixes
-
- Apr 21, 2021
-
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Ashley authored
* Implement the wrapping in Expression::Load instead * Add changes to stack size * stable and nightly can't seem to agree on a stack size * Apply suggestions * Add a comment about unexpected path * Update skybox snapshot * should_pack_struct_member returns an Option<ScalarKind> * Remove accidental file
-
Dzmitry Malyshau authored
-
- Apr 20, 2021
-
-
Ashley authored
* [Metal] Impl `Expression::Splat` * Add changes to the snapshots * Apply suggestions
-
Ashley Ruglys authored
-
Gordon-F authored
-
Gordon-F authored
-
- Apr 19, 2021
-
-
François authored
* [glsl-in] add support for array variables * clippy * more clippy
-
Jim Blandy authored
-
Jim Blandy authored
-
Jim Blandy authored
When validating IR, verify that all `Binding`s for vertex shader outputs and fragment shader inputs, whether directly in the argument or result, or applied to a struct member, has specified an interpolation and sampling, not `None`. This ensures that front ends explicitly state their policies, rather than coasting through on back ends' default behavior. In practice, all our front ends have very similar defaults, so provide a utility function on `Module` to apply these rules. Use this utility function in the SPIR-V and WGSL front ends; GLSL seems to already fill in interpolation as required.
-
Jim Blandy authored
Fixes: #670
-
Jim Blandy authored
This commit makes no other changes. This is in preparation for adding a third field, at which point tuple variants start to get obscure.
-
Jim Blandy authored
The `Writer::decorate` private method neatens up eight call sites.
-
Igor Shaposhnik authored
-
Igor Shaposhnik authored
-
Dzmitry Malyshau authored
-
- Apr 18, 2021
-
-
Ashley authored
-
- Apr 17, 2021
-
-
Lachlan Sneff authored
* Add struct instantiation support to wgsl-in * Readd type matching and move struct test * rebase onto master and update tests * Update tests to upstream * Fix merge errors * Rebase onto master * [wgsl-in] delay composite type creation * Use the new WGSL construction syntax in the tests Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
-
- Apr 16, 2021
-
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Ashley authored
* Impl `Hash` for `msl::Options` * Remove ordered float * [msl] derive everything on Options manually * [msl] switch from Arena to Vec for the options * Fix the clippy error by allowing derive_hash_xor_eq * Fix skybox test Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
-
- Apr 15, 2021
-
-
Jim Blandy authored
-
Jim Blandy authored
Add a Option<u16> to the snapshot `Params` to let snapshots request specific Desktop GLSL versions. The default is GLSL ES 3.10. It would be more general to let the params select any GLSL version, but that would entail making glsl::Version implement Deserialize and all that, which seems like overkill.
-
Jim Blandy authored
-
Jim Blandy authored
Use `back::glsl::features::FeaturesManager` to detect which qualifiers the given module actually uses, and check them against the requested GLSL version. The `linear` and `sample` qualifiers for fragment shader inputs are not supported in all versions of GLSL that Naga can generate.
-
Jim Blandy authored
-
Dzmitry Malyshau authored
-