Fredrik Fornwall
|
ed697bc192
|
Rename bin/wgpu_runner.rs to main.rs (#1111)
* Rename bin/wgpu_runner.rs to main.rs
Fixes running `cargo run --bin example-runner-wgpu` as documented at
https://embarkstudios.github.io/rust-gpu/book/building-rust-gpu.html
* Add --lib to sample commands in android.nix
|
2024-01-02 14:20:01 +00:00 |
|
Eduard-Mihai Burtescu
|
83f8c72f04
|
rustup: update to nightly-2023-09-30 .
|
2023-11-22 12:34:30 +02:00 |
|
Eduard-Mihai Burtescu
|
145a98dae4
|
Updated CHANGELOG.
|
2023-11-21 18:25:34 +02:00 |
|
Eduard-Mihai Burtescu
|
ead056a6f3
|
Appease cargo deny .
|
2023-11-21 18:25:34 +02:00 |
|
Eduard-Mihai Burtescu
|
9d9e7c9eb4
|
rustc_codegen_spirv/test: unbreak after termcolor-related changes.
|
2023-11-21 18:25:34 +02:00 |
|
Eduard-Mihai Burtescu
|
8858d5f7aa
|
builder: aggressively pointercast /bitcast to paper over opaque pointers.
|
2023-11-21 18:25:34 +02:00 |
|
Eduard-Mihai Burtescu
|
acf85064d0
|
intrinsics: stub out compare_bytes (as zombie instead of fatal error).
|
2023-11-21 18:25:34 +02:00 |
|
Eduard-Mihai Burtescu
|
8637102791
|
Address new rustc/clippy lints.
|
2023-11-21 18:25:34 +02:00 |
|
Eduard-Mihai Burtescu
|
acaf74c060
|
Undo accidental subst->arg renames in builder/spirv_asm .
|
2023-11-21 18:25:34 +02:00 |
|
Christian Legnitto
|
9b587c1712
|
Update to nightly-2023-08-29
|
2023-11-21 18:25:34 +02:00 |
|
Eduard-Mihai Burtescu
|
e87c324bfd
|
Address/silence new clippy lints.
|
2023-08-01 13:04:50 +03:00 |
|
Eduard-Mihai Burtescu
|
50ebb52619
|
rustup: update to nightly-2023-07-08 .
|
2023-08-01 13:04:50 +03:00 |
|
Eduard-Mihai Burtescu
|
c2f98b612a
|
Bump version to 0.9.0 .
|
2023-07-25 12:52:29 +03:00 |
|
Eduard-Mihai Burtescu
|
9002209a14
|
linker/test: avoid using std::env entirely.
|
2023-07-25 12:07:36 +03:00 |
|
Eduard-Mihai Burtescu
|
a48588b11b
|
Update spirt for better OpExtInst support (https://github.com/EmbarkStudios/spirt/pull/45).
|
2023-07-25 12:07:36 +03:00 |
|
Eduard-Mihai Burtescu
|
4c7c97f2ac
|
Update spirt to include pretty-printing fixes (https://github.com/EmbarkStudios/spirt/pull/43).
|
2023-07-25 12:07:36 +03:00 |
|
Eduard-Mihai Burtescu
|
2c2a3bc31c
|
Improve custom debuginfo with aggressive deduplication.
|
2023-07-25 12:07:36 +03:00 |
|
Eduard-Mihai Burtescu
|
779951bc8d
|
Fix off-by-one in column numbers in panic debugPrintf traces.
|
2023-07-25 12:07:36 +03:00 |
|
Eduard-Mihai Burtescu
|
88457ae249
|
custom_insts: group all debugPrintf -like inputs of Abort together.
|
2023-07-25 12:07:36 +03:00 |
|
Eduard-Mihai Burtescu
|
603f9894d6
|
Update spirt for DataInstForm interning.
|
2023-07-25 12:07:36 +03:00 |
|
Eduard-Mihai Burtescu
|
b3670b2303
|
spirt_passes/reduce: fix long-standing bug involving chained replacements.
|
2023-07-25 12:07:36 +03:00 |
|
Eduard-Mihai Burtescu
|
7f508ba86c
|
linker: use OutputFilenames::temp_path_ext for critical dumping, even without --dump-* .
|
2023-07-25 12:07:36 +03:00 |
|
Eduard-Mihai Burtescu
|
1abd1cf43b
|
Show panic! messages via debugPrintf , even including some runtime arguments ({u,i,f}32 as {} or {:?} ).
|
2023-07-21 21:13:49 +03:00 |
|
Eduard-Mihai Burtescu
|
a0347e28c0
|
Allow -C debuginfo=2 , but require -Zinline-mir=off , for panic! format_args! removal.
|
2023-07-21 21:13:49 +03:00 |
|
Eduard-Mihai Burtescu
|
4c6cf0d737
|
example-runner-ash: use NumPad +/- to control sky-shader 's "sun intensity" through a specialization constant.
|
2023-07-21 12:27:17 +03:00 |
|
Eduard-Mihai Burtescu
|
af2a9ee445
|
Add specialization constants via #[spirv(spec_constant(id = 123))] x: u32 entry-point inputs.
|
2023-07-21 12:27:17 +03:00 |
|
Eduard-Mihai Burtescu
|
55edc4e6b4
|
example-runner-wgpu: fix "offline" (wasm/Android) compilation.
|
2023-07-20 20:26:15 +03:00 |
|
Eduard-Mihai Burtescu
|
34e1c90c32
|
Improve abort/panic messages to be more distinctive.
|
2023-07-20 20:26:15 +03:00 |
|
Eduard-Mihai Burtescu
|
883d5aaade
|
Update CHANGELOG.
|
2023-07-20 20:26:15 +03:00 |
|
Eduard-Mihai Burtescu
|
70728c7cc1
|
spirv-builder: update ShaderPanicStrategy::DebugPrintfThenExit docs with newer information.
|
2023-07-20 20:26:15 +03:00 |
|
Eduard-Mihai Burtescu
|
24f42f2b42
|
example-runner-wgpu: enable debugPrintf panic support via --force-spirv-passthru .
|
2023-07-20 20:26:15 +03:00 |
|
Eduard-Mihai Burtescu
|
9808cd0309
|
example-runner-wgpu: fix compute example.
|
2023-07-20 20:26:15 +03:00 |
|
Eduard-Mihai Burtescu
|
2ed23d0013
|
example-runner-wgpu: add --force-spirv-passthru for testing.
|
2023-07-20 20:26:15 +03:00 |
|
Eduard-Mihai Burtescu
|
4252427f89
|
Add debugPrintf -based panic reporting, controlled via spirv_builder::ShaderPanicStrategy .
|
2023-07-18 22:40:57 +03:00 |
|
Eduard-Mihai Burtescu
|
e830e608eb
|
Update CHANGELOG.
|
2023-07-15 01:03:08 +03:00 |
|
Eduard-Mihai Burtescu
|
76a1606617
|
Try to get CI to pass (Cargo 1.70.0 has a dep: bug, cargo deny found a yanked crate).
|
2023-07-15 01:03:08 +03:00 |
|
Eduard-Mihai Burtescu
|
a389a7993f
|
Remove mentions of 0.4 pre-releases and try making spirv-builder/README.md more readable.
|
2023-07-15 01:03:08 +03:00 |
|
Eduard-Mihai Burtescu
|
26fcbc0b67
|
spirv-builder: try getting the docs.rs doc build to succeed (by making rustc_codegen_spirv optional).
|
2023-07-15 01:03:08 +03:00 |
|
Eduard-Mihai Burtescu
|
ce8c3f8f4c
|
Lower aborts (incl. panics) to "return from entry-point", instead of infinite loops.
|
2023-07-07 08:33:39 +03:00 |
|
Eduard-Mihai Burtescu
|
b2e5eb7595
|
spirv-std: prevent MIR inlining of buffer_{load,store}_intrinsic w/ #[inline(never)] .
|
2023-06-08 15:54:23 +03:00 |
|
Eduard-Mihai Burtescu
|
92b975f53e
|
spirv-std: add non-trivial bodies to buffer_{load,store}_intrinsic to debug them.
|
2023-06-08 15:54:23 +03:00 |
|
Eduard-Mihai Burtescu
|
dbada91cb7
|
rustup: update to nightly-2023-05-27 .
|
2023-06-08 15:54:23 +03:00 |
|
Eduard-Mihai Burtescu
|
188aba26fc
|
Remove some now-obsolete #[rustfmt::skip] workarounds for rustfmt bugs.
|
2023-06-03 10:46:57 +03:00 |
|
Eduard-Mihai Burtescu
|
4a987f3eb0
|
Add rustfmt.toml with version = "Two" to enable formatting array patterns.
|
2023-06-03 10:46:57 +03:00 |
|
Eduard-Mihai Burtescu
|
cfaabbab08
|
Bump version to 0.8.0 .
|
2023-06-02 18:55:33 +03:00 |
|
Eduard-Mihai Burtescu
|
54d98c882f
|
builder: generalize the panic format_args! remover to handle runtime args.
|
2023-06-02 11:46:02 +03:00 |
|
Eduard-Mihai Burtescu
|
e9cdb9666b
|
rustup: update to nightly-2023-04-15 .
|
2023-06-02 11:46:02 +03:00 |
|
Eduard-Mihai Burtescu
|
87b7d135ab
|
Add CHANGELOG entry for custom OpExtInst s.
|
2023-06-02 00:32:50 +03:00 |
|
Eduard-Mihai Burtescu
|
9011856b00
|
custom_inst: add {Push,Pop}InlinedCallFrame and emit them in the inliner.
|
2023-06-02 00:32:50 +03:00 |
|
Eduard-Mihai Burtescu
|
08371d3264
|
spirt_passes/diagnostics: track uses of global variables more accurately.
|
2023-06-02 00:32:50 +03:00 |
|