Commit Graph

1828 Commits

Author SHA1 Message Date
firestar99
62662c92c7 explicit layout: WIP7, build equivalent test, showing bad shader optimizations 2025-12-10 12:11:43 +01:00
firestar99
449bbf485c explicit layout: WIP6, fix offset calculation in test 2025-12-10 12:11:07 +01:00
firestar99
91486163ef explicit layout: WIP5, move compiletest to separate folder 2025-12-10 12:10:41 +01:00
firestar99
9bd442ed9c explicit layout: WIP4, dedup slice copy fns 2025-12-10 11:51:21 +01:00
firestar99
e4941b9727 explicit layout: WIP3, compiletest vector load 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
Some checks failed
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
4a75a05549 image texel write: compiletests with explicit formats, fails for scalar formats 2025-12-08 07:33:28 +00:00
firestar99
e97524f6b4 dylib: fix Android
All checks were successful
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2025-12-05 23:29:56 +00:00
firestar99
70b1df24ca dylib: update docs 2025-12-05 23:29:56 +00:00
firestar99
ecb41c22dc dylib: remove crate-type declarations from examples and difftests 2025-12-05 23:29:56 +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
49e3e57e42 ci: make lint/install rust-toolchain not redundant
All checks were successful
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
installing clippy also installs the toolchain, so the toolchain step does nothing and takes 0s
2025-12-05 10:35:47 +00:00
firestar99
fe941fec1e compiletest: ignore arch/shared on vulkan1.0/spv1.2 and lower 2025-12-05 10:35:47 +00:00
firestar99
18f9e0266d replace tabs with spaces 2025-12-05 10:35:47 +00:00
Christian Legnitto
6fb875068d Fix docs.
All checks were successful
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
Fixes https://github.com/Rust-GPU/rust-gpu/issues/470
2025-11-30 16:44:15 +00:00
firestar99
e4a165befa ScalarComposite: adjust docs to the new name
All checks were successful
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
d4dd2e2151 ash runner: cleanup debug callback
All checks were successful
Rust Toolchain Upgrade / check-and-upgrade (push) Has been skipped
2025-11-27 10:12:45 +00:00
firestar99
5e582833a7 ash runner: switch Vulkan Memory Model from extension to core feature 2025-11-27 10:12:45 +00:00
firestar99
081e2b5057 ash runner: remove ash-molten, require vulkan sdk on macos 2025-11-27 10:12:45 +00:00
firestar99
c33650e5ec ash runner: fix lints 2025-11-27 10:12:45 +00:00
firestar99
e99d6d2342 ash runner: split it into different modules 2025-11-27 10:12:45 +00:00
firestar99
c796d6c542 ash runner: rewrite
* use Vulkan 1.3
* use DynamicRendering feature replacing Framebuffers
* extract `MyDevice` struct containing vk initialization
* decouple rendering from swapchain management
* redo swapchain sync, fixes validation errors, intentionally kept basic
* make rendering lazily recreate its pipeline
2025-11-27 10:12:45 +00:00
firestar99
81d7268ee2 ash runner: general code cleanup 2025-11-27 10:12:45 +00:00
firestar99
794c9054c2 ash runner: use bytemuck 2025-11-27 10:12:45 +00:00
firestar99
1c345c2cc3 ash runner: remove multimodule, simplify pipeline creation 2025-11-27 10:12:45 +00:00
firestar99
aa62233258 ash runner: constant window updates, don't wait for new events 2025-11-27 10:12:45 +00:00
firestar99
807ea2a922 ash runner: make debug msgs easier to read 2025-11-27 10:12:45 +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
b01acc6840 shared: compiletest for unused shared memory, failing 2025-11-27 09:43:14 +00:00
firestar99
a496aeabd8 Matrix4x3: verify abi layout in difftest 2025-11-27 09:39:55 +00:00
firestar99
c276a79bf7 Matrix4x3: document limitations of #[spirv(matrix)] 2025-11-27 09:39:55 +00:00