firestar99
9bd442ed9c
explicit layout: WIP4, dedup slice copy fns
2025-12-10 11:51:21 +01:00
firestar99
9ae3114a88
explicit layout: WIP2, compiles
2025-12-10 11:51:21 +01:00
firestar99
8ded5cabf8
explicit layout: WIP1, array to slice cast fails
2025-12-10 11:51:21 +01:00
firestar99
ae25e1a47b
image texel write: change texel write arg from any vector to SampleResult, allows scalars
...
Rust Toolchain Upgrade / check-and-upgrade (push) Has been cancelled
* breakage: no longer allows any vector, type must match image format
* allows texel writes into single-component scalar textures
2025-12-08 07:33:28 +00:00
firestar99
e451bc4cc9
dylib: add rustc arg --crate-type, no longer require crate-type to be set in Cargo.toml
2025-12-05 23:29:56 +00:00
firestar99
08fe1e15e0
dylib: switch from cargo build to cargo rustc
2025-12-05 23:29:56 +00:00
firestar99
bb0173c270
dylib: allow setting cargo <cmd> dynamically
2025-12-05 23:29:56 +00:00
firestar99
18f9e0266d
replace tabs with spaces
2025-12-05 10:35:47 +00:00
firestar99
e4a165befa
ScalarComposite: adjust docs to the new name
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2025-11-28 15:16:26 +00:00
firestar99
77708a3d3e
ScalarComposite: rename ScalarOrVectorComposite to ScalarComposite, bulk rename
2025-11-28 15:16:26 +00:00
firestar99
7c73d49942
ScalarComposite: derive enums and improve enum docs
2025-11-28 15:16:26 +00:00
firestar99
e9b5a74000
ScalarComposite: adjust subgroup_all_equal to accept composites
2025-11-28 15:16:26 +00:00
firestar99
589d51ff19
ScalarComposite: add #[derive(ScalarOrVectorComposite)] for structs
2025-11-28 15:16:26 +00:00
firestar99
403dd84ea4
ScalarComposite: add ScalarOrVectorComposite for subgroup intrinsics
2025-11-28 15:16:26 +00:00
firestar99
7d25642f1f
watch: fix clippy
2025-11-28 11:39:36 +00:00
firestar99
77a4ecfccb
watch: add try_recv, a non-blocking variant
2025-11-28 11:39:36 +00:00
firestar99
7c5cc3446f
watch: handle errors and changes during compile gracefully
2025-11-28 11:39:36 +00:00
firestar99
144665db93
spirv-builder: also search cwd for dylib
2025-11-28 11:39:36 +00:00
firestar99
a1c8ad3d78
watch: minor code cleanup
2025-11-28 11:39:36 +00:00
firestar99
8ae34046cd
watch: always consume SpirvBuilder
2025-11-28 11:39:36 +00:00
tuguzT
225fca734b
watch: Small refactoring
2025-11-28 11:39:36 +00:00
tuguzT
30b9b70c6e
watch: Redesign spirv-builder's watch API
2025-11-28 11:39:36 +00:00
firestar99
a49f4233fd
shared: only retain entry point vars with preserve-bindings
2025-11-27 09:43:14 +00:00
firestar99
82d5280f58
shared: move preserve-bindings to linker Options
2025-11-27 09:43:14 +00:00
firestar99
02806ee961
shared: fix unused shared memory failing validation
2025-11-27 09:43:14 +00:00
firestar99
c276a79bf7
Matrix4x3: document limitations of #[spirv(matrix)]
2025-11-27 09:39:55 +00:00
firestar99
7100f3f4e5
Matrix4x3: impl Debug and Display like a Mat4
2025-11-27 09:39:55 +00:00
firestar99
107ebfe62e
Matrix4x3: rename members to be more consistent with glam's matrices
2025-11-27 09:39:55 +00:00
Christian Legnitto
2232fcb7b5
Do not ICE on indirect fn pointers
...
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
Fixes https://github.com/Rust-GPU/rust-gpu/issues/452 .
2025-10-28 08:49:53 +00:00
foo
808974a0d0
Remove unnecessary closures
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2025-10-27 03:55:32 +00:00
firestar99
67ccf2f6aa
format args decompiler: move support functions in spirv-std to mod debug_printf
...
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
Currently, every time `lib.rs` changes, there's a change in the debug printf compiletest stderr, which is causing a lot of churn.
2025-10-22 13:42:03 +00:00
firestar99
85f6c47012
macros: move gen_sample_param_permutations macro to separate mod
2025-10-22 13:42:03 +00:00
firestar99
921f692658
macros: move debug_printf macro to separate mod
2025-10-22 13:42:03 +00:00
firestar99
d5c290e6f7
format args decompiler: expand closures to proper types
2025-10-22 13:42:03 +00:00
firestar99
3d33a80618
format args decompiler: move to a separate mod
2025-10-22 13:42:03 +00:00
firestar99
8c3fa7b7e8
subgroup: add subgroup_broadcast_const variant for pre-spv1.5 broadcasts
2025-10-22 13:31:48 +00:00
firestar99
9fc1a5fe5d
subgroup: fix docs typo
2025-10-22 13:31:48 +00:00
firestar99
f438c8c817
scalar or vector: rename VectorOrScalar to ScalarOrVector and give it its own mod
2025-10-22 12:30:23 +00:00
firestar99
9806b1c1a9
scalar or vector: minor vector code cleanup
2025-10-22 12:30:23 +00:00
firestar99
08a245cb23
scalar or vector: move all scalar traits and impl macros to mod scalar
2025-10-22 12:30:23 +00:00
firestar99
0ada17d0ec
scalar or vector: reexport all Scalar traits in lib.rs, make mods private
...
apart from `mod float`, which contains functionality
2025-10-22 12:30:23 +00:00
firestar99
3e88a572c4
scalar or vector: unwrap is now a const fn cleanup
2025-10-22 12:30:23 +00:00
Nicholas Nethercote
25d9da35ab
Fix some formatting.
2025-10-22 09:33:57 +00:00
Nicholas Nethercote
648a020869
Remove an unnecessary pub.
2025-10-22 09:33:57 +00:00
Nicholas Nethercote
9f269e16f0
Simplify sample_type_impls!.
...
- The first `@single_rule` rule just repeats the contents of the
subsequent four `@single_rule` rules. So just call them.
- The subsequent four `@single_rule` rules don't need to handle
repetition, because the first rule handles that.
2025-10-22 09:33:57 +00:00
Nicholas Nethercote
bbe6725aa6
Remove extraneous whitespace in lod_type.
2025-10-22 09:33:57 +00:00
Nicholas Nethercote
ebdea09556
Rename parsing_error as parse_error.
...
`parsing_error` reads strangely. `parse_error` is much more normal.
2025-10-22 09:33:57 +00:00
firestar99
a28bd3a333
SpecConstant: add arrayed spec constants
2025-10-22 08:37:42 +00:00
firestar99
2aa4d4f8a8
abi layout: remove pqp_cg_ssa patch for #[repr(SIMD)]
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2025-10-15 09:42:01 +00:00
firestar99
9dc925725e
abi layout: assert member offsets of vectors are as expected
2025-10-15 09:42:01 +00:00