Ashley Hauck
56067de909
Support const args in asm! ( #421 )
2021-02-12 14:05:31 +01:00
XAMPPRocky
c10a6c0747
Add vector_insert_dynamic ( #411 )
...
* Add vector_insert_dynamic and copy_object
* Update arch.rs
* Update basic.rs
* Update arch.rs
* Update spirv_type_constraints.rs
2021-02-11 15:18:52 +00:00
Eduard-Mihai Burtescu
3a4d140328
Don't require 1:1 mapping between OpTypeStruct
s and their names. ( #406 )
2021-02-01 14:24:02 +00:00
Ashley Hauck
3f0900c89d
Enable optimizer ( #401 )
...
* Enable optimizer
* Fix tests
2021-01-29 11:30:56 +00:00
XAMPPRocky
69b94bb6f9
Add initial arch module ( #394 )
2021-01-27 15:54:17 +00:00
Jesse
04ad2ad64f
fix: handle an ICE resulting from a dangling pointer ( #342 )
2021-01-20 12:52:06 +00:00
XAMPPRocky
9e7b9de28f
Add autolinks to silence rustdoc warnings ( #363 )
2021-01-05 12:14:34 +00:00
Jake Shadle
95a4cfab41
Update spirv-tools to 0.2.0 ( #343 )
...
* Update spirv-tools to 0.2.0
* Rustfmt
2020-12-14 09:43:23 +00:00
Eduard-Mihai Burtescu
9e99c05a76
Update to nightly-2020-12-11. ( #338 )
...
* Update to nightly-2020-12-11.
* Update for rustfmt changes (`cargo fmt --all`).
* Update `rustc_codegen_spirv::linker::test` for `rustc_interface` changes.
* Use `spirv_tools::util::{to,from}_binary` to pacify clippy.
* `#[allow(clippy::unnecessary_wraps)]` on `Result`-returning `fn run_thin`.
2020-12-11 10:40:35 +00:00
Eduard-Mihai Burtescu
ebf3dbee8d
Support "Unroll" Loop Control via function-scoped #[spirv(unroll_loops)]
. ( #337 )
...
* Generalize the zombie serialization system to arbitrary custom decorations.
* Support "Unroll" Loop Control via function-scoped `#[spirv(unroll_loops)]`.
* Pacify the merciless clippy.
2020-12-10 19:57:15 +00:00
XAMPPRocky
c1dc273e70
Update version number ( #322 )
...
* Update version number
* Add lockfile
2020-12-04 16:50:19 +00:00
Ashley Hauck
a653c61b64
Get closer to testing NO_DCE in CI ( #321 )
...
* Get closer to testing NO_DCE in CI
The only remaining validation issues are due to the SROA pass not being
implemented yet
* Revert mistakenly included change
2020-12-04 15:05:13 +00:00
Eduard-Mihai Burtescu
6c7ca97e9b
Intercept panic calls and replace them with aborts. ( #305 )
...
* new_structurizer: fix infinite loops.
* intrinsics: use an infinite loop for `abort`.
* Don't deduplicate zombie values even with other zombies.
* Bring back `zombie_even_in_user_code` and use it for constants.
* Use global `OpVariable`s instead of undefs for `ConstantPointer`s.
* Intercept panic calls and replace them with aborts.
2020-12-03 18:40:24 +00:00
Ashley Hauck
d8d80d77f6
Add test for issue 283 ( #302 )
2020-12-02 17:50:48 +00:00
Eduard-Mihai Burtescu
e02beade35
New structurizer: now with ∞% more φ! ( #287 )
2020-12-02 11:05:04 +00:00
Eduard-Mihai Burtescu
adebc90070
Remove #[spirv(push_constant)]
from function parameters. ( #296 )
2020-12-01 15:14:54 +00:00
Eduard-Mihai Burtescu
ae42a911a1
#[spirv(block)]
for Block
decorations on struct
s. (#295 )
2020-12-01 14:28:49 +00:00
Eduard-Mihai Burtescu
340dfc4a76
spirv-builder: pass --target-dir
to Cargo to avoid lock conflicts. ( #293 )
2020-12-01 14:09:36 +00:00
Ashley Hauck
114d029163
Do not merge zombie and non-zombies ( #288 )
2020-11-30 15:27:02 +00:00
XAMPPRocky
16c380a71b
Refactor and document storage classes ( #280 )
...
* Refactor storage classes macro and organisation
* Update storage_class.rs
2020-11-27 15:20:44 +00:00
XAMPPRocky
59869ec58b
Move lang_items into spirv-std ( #275 )
2020-11-26 09:12:18 +00:00
Eduard-Mihai Burtescu
6e0e23c620
spirv-builder: pass through non-JSON stdout lines even after an error. ( #267 )
2020-11-20 18:25:21 +00:00
Eduard-Mihai Burtescu
0581f8580e
Use a demangled symbol name for OpName. ( #266 )
...
* Use a demangled symbol name for OpName.
* Rename my_smoothstep back to smoothstep.
* Update SPIR-V tests to look for the absolute fn
path.
2020-11-20 13:54:26 +00:00
Viktor Zoutman
6353505e9e
Introducing rspiv::Builder into the structurizer. ( #253 )
...
* Replaced most manual spirv manipulation with rspirv builder
* Replaced most manual spirv manipulation with rspirv builder
* removed braces
* prefer slices over vec
2020-11-18 13:43:38 +00:00
Ashley Hauck
bedbc4dc0f
asm! ( #254 )
2020-11-18 12:54:22 +00:00
XAMPPRocky
cf52d51199
Add changes to compile rust-gpu on the latest nightly ( #212 )
...
* Update DILocation and update trait impls for nightly
* rustc_codegen_spirv: Update mir Scalar handling to nightly 2020-11-04
3a7970848c
df4d717d0b
* More changes to compile on the latest nightly
* Remove unused import warnings
Co-authored-by: Marijn Suijten <marijns95@gmail.com>
2020-11-10 08:16:25 +00:00
Viktor Zoutman
8d2b8ce5f3
Continue and minor break fixes ( #202 )
...
* Continue and break fixes
* Ashley Clippy
* Incorporated Feedback
* Clippy lint
* clippy
* minor fix
2020-11-02 15:14:06 +00:00
khyperia
72e1373e1c
Fix path missed in #200
2020-11-02 12:55:49 +01:00
khyperia
0b5ddb697b
Add reminder test to implement strings.
2020-11-02 11:46:24 +01:00
XAMPPRocky
ad610b57f5
Move top-level crates to crates/ directory ( #200 )
...
* Move top-level crates to crates/ directory
* Update docs
* Update test.sh
* Update docs.sh
* Update clippy.sh
2020-11-02 11:26:10 +01:00