Commit Graph

25 Commits

Author SHA1 Message Date
tnibler
8e787d5b7a
Implement Default for descriptor_set Id types (#2656) 2025-02-16 09:49:53 +01:00
marc0246
a057ab1d67
Task graph [7/10]: descriptor sets (#2648) 2025-02-15 13:33:51 +01:00
marc0246
75f005ad40
Fix panic if previous barrier is looked up and it's an initial barrier (#2652) 2025-02-11 16:23:08 +01:00
marc0246
a89d61c7cc
Add new constructors to vulkano-taskgraph Info structs too (#2649)
* Add `new` constructors to vulkano-taskgraph `Info` structs too

* Add decimal values
2025-02-09 22:11:59 +01:00
marc0246
615dff6724
std::mem::{size_of[val],align_of[val]} are in the prelude now; use 'em (#2647) 2025-02-09 20:39:30 +01:00
Rua
ce3b0d6ce1
Replace NonZeroT with NonZero<T> (#2641)
* Replace `NonZeroU*` with `NonZero<u*>`

* Re-add the `NonZeroDeviceSize` and `NonNullDeviceAddress` aliases to avoid breakage
2025-02-07 19:57:17 +01:00
Rua
bdfc34ccd3
Enable and fix unsafe_op_in_unsafe_fn lint (#2630)
* Enable and fix `unsafe_op_in_unsafe_fn` clippy lint

* Remove redundant override

* Update vulkano/src/sync/future/join.rs

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2025-02-06 21:06:33 +01:00
marc0246
883596487c
Typo 2025-02-05 23:26:13 +01:00
Rua
d7b5292c8c
Release Vulkano 0.35.0 (#2629)
* Release Vulkano 0.35.0

* Add warning label on vulkano-taskgraph

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2025-02-05 18:47:32 +01:00
marc0246
7472974e6f
Task graph [6/10]: render passes (#2627) 2025-02-05 18:11:06 +01:00
marc0246
938de018ed
Ray tracing fixes (#2625)
* Fix shader files' inconsistent file extensions

* Fix shader files' inconsistent formatting

* Fix examples' code inconsistencies

* Fix library code inconsistencies

* Fix `get_ray_tracing_pipeline_shader_group_handles` scoping
2025-01-29 12:07:06 +01:00
ComfyFluffy
130f9e5d35
Ray Tracing Pipeline (KHR) (#2564)
* ray tracing pipeline

* fix invalid pointers

* sync

* triangle-raytracing

* working example

* refactor

* refactor SBT

* example for AutoCommandBufferBuilder

* bind & trace_rays validation

* trace_rays validation

* doc for triangle-raytracing-auto

* move mod.rs

* fmt & clippy

* fix clippy ci

* add unit tests for sbt builder

* fmt

* undo sbt copy refactor

* fix clippy

* rename example & cleanup

* rmiss -> miss

* refactor & add doc

* fmt

* update dep & remove abbreviates

* refactor:
- add doc
- add check for stages/groups
- pub modification
- `pub use` StridedDeviceAddressRegionKHR in lib.rs

* implement StridedDeviceAddressRegion

* rename examples
2024-12-14 10:40:31 +01:00
marc0246
4aa72388ed
Replace ahash with foldhash (#2615) 2024-12-12 13:52:04 +01:00
marc0246
6226762709
Fix deadlock after failed task graph execution (#2603) 2024-11-19 12:20:08 +01:00
Rua
a1307b6ef8
Minimise unsafe block size, in library (#2592)
* Minimise unsafe block size, in library

* Missed one
2024-10-29 19:39:08 +01:00
marc0246
ba8aa2a527
Revert #2421, rename Raw[Recording]CommandBufer again and move them (#2582) 2024-10-19 14:13:15 +02:00
Lachlan Deakin
6981040486
Add partial support for khr_fragment_shading_rate (#2574)
* support `khr_fragment_shading_rate`

* Add taskgraph `set_fragment_shading_rate`

* Add `set_fragment_shading_rate` validation

* Cleanup `FragmentShadingRateState` validation

* Consolidate fragment_shading_rate validation

* Add docs for `fragment_shading_rate`

* Update vulkano-taskgraph/src/command_buffer/commands/dynamic_state.rs

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>

* Format fragment_shading_rate validation messages

* Apply suggestions from code review

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2024-10-19 07:34:19 +02:00
marc0246
5749fef53c
Revert #2425 (#2576) 2024-10-18 20:00:21 +02:00
marc0246
f6bc05df94
Update dependencies (#2571)
* Update dependencies

* fmt
2024-10-10 12:16:14 +02:00
Rua
9033311653
Use Ash builders for Vulkan struct construction + refactor (#2525)
* Use Ash builders for Vulkan struct construction + refactor

* Use pointer for `from_qnx_screen`

* Workaround for Ash bug

* Fix vulkano-taskgraph

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2024-10-02 15:15:08 +02:00
marc0246
bad11eef71
Task graph [5/10]: the new command buffer (#2567) 2024-09-20 13:30:36 +02:00
marc0246
79c30fd1a8
Task graph [4/10]: compilation (#2560) 2024-09-11 15:59:18 +02:00
marc0246
5782c1a2a6
Task graph [3/10]: execution (#2548) 2024-07-28 11:35:58 +02:00
marc0246
e6e4bc6a26
Task graph [2/10]: the task graph data structure (#2545) 2024-07-21 13:14:55 +02:00
marc0246
796cb35acd
Task graph [1/10]: resource synchronization state tracking (#2540) 2024-07-09 12:40:15 +02:00