- Apr 14, 2021
-
-
Dzmitry Malyshau authored
-
Jim Blandy authored
The snapshot files in tests/out start with headers like this: --- source: tests/snapshots.rs expression: dis --- ; SPIR-V ; Version: 1.0 ; Generator: rspirv ... The Makefile's `validate-foo` targets trim off those lines with `tail -n +5` before submitting their test to the validators. However, some versions of the `insta` crate seem to generate headers with an extra blank line, like this: --- source: tests/snapshots.rs expression: dis --- This makes the `validate-foo` targets unhappy. This commit changes the `validate-foo` targets to use `sed` to cope with both kinds of headers.
-
- Apr 13, 2021
-
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
- Apr 12, 2021
-
-
Dzmitry Malyshau authored
-
- Apr 11, 2021
-
-
Ashley authored
-
Ashley authored
* Make constant composites non-constexpr * Update shadow test
-
Ashley authored
* Add a note about references and pointers to Expression::Load * Formatting * Remove comma * Clearer English
-
Ashley authored
* Handle length(float x) * Handle length(float) and distance(float, float) * Apply suggestions * Apply suggestions * Move stack size range up by 1000
-
Ashley authored
* Take references in function calls if thats what the funciton wants * Use references instead of pointers the function argument list
-
Ashley authored
-
Timo de Kort authored
* Add hlsl-out feature * Integrate hlsl-out with snapshots * Add snapshot
-
Ashley authored
* Handle NaN and inf * Handle negative infinity
-
Mehmet Oguz Derin authored
-
Simas Toleikis authored
-
- Apr 10, 2021
-
-
Ashley Ruglys authored
-
- Apr 09, 2021
-
-
Matúš Talčík authored
beautify beautify #2
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Jim Blandy authored
This adds `use` declarations for `spirv::Decoration` and `spirv::BuiltIn` local to functions where those are used repeatedly.
-
- Apr 08, 2021
-
-
LaughingMan authored
The initial intention was to make the code a little more elegant and match on the Vec itself instead of its length, however there's also a - probably minuscule - performance advantage: `Vec::remove` internally copies the removed element onto the stack. In this case that's a `StructMember` weighting 48 bytes. The `Binding` we are actually interested in is only 8 bytes tough. Cloning just the `Binding` saves us from copying 40 bytes for nothing.
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
Also move out "allow_point_size" into SubOptions to allow main Options to not be cloned.
-
Jim Blandy authored
Renames: Error::UnknownDecoration => Error::UnknownAttribute TypeDecoration => TypeAttributes Scope::Decoration => Scope::Attribute various argument names, string literals, comments
-
- Apr 07, 2021
-
-
Zakarum authored
* Panic to prevent arena Handle overflow * Use `NonZeroU32::new` to detect overflow
-
- Apr 05, 2021
-
-
adamnemecek authored
-
- Apr 04, 2021
-
-
Dzmitry Malyshau authored
-
Dzmitry Malyshau authored
-