Yuxuan Shui
2acc82d11c
More borrowing ( #2667 )
...
* Add `Device::from_handle_borrowed`
* Add `Instance::from_handle_borrowed`
2025-03-26 16:29:58 +01:00
Let
fb70eaf41a
Fix min swapchain image amount to allow variable MAX_FRAMES_IN_FLIGHT in examples ( #2669 )
...
* Fix min swapchain image amount to allow variable MAX_FRAMES_IN_FLIGHT
Allows the user to play with the example code and set MAX_FRAMES_IN_FLIGHT without having to fix anything.
with 1 extra frame breathing room in the swapchain.
* Add MIN_SWAPCHAIN_IMAGES const for taskgraph examples
2025-03-25 21:47:49 +01:00
marc0246
bf4fe79dfe
#2668 changelog
2025-03-25 21:47:20 +01:00
Rua
bdad717135
Fix incorrect checks for Surface win32_monitor ( #2668 )
...
* Fix incorrect checks for Surface win32_monitor
* Remove redundant check, better docs
2025-03-25 21:46:25 +01:00
Rua
b44cbf32b3
#2661 changelog
2025-03-21 11:35:16 +01:00
Luke Powers
4f43f25a77
Disabled validation for descriptor binding merge. ( #2661 )
...
* disabled validation for descriptor binding merge
* Apply suggestions from code review
Co-authored-by: Rua <ruawhitepaw@gmail.com>
---------
Co-authored-by: Luke <lwpowers@ncsu.edu>
Co-authored-by: Rua <ruawhitepaw@gmail.com>
2025-03-21 11:34:26 +01:00
marc0246
15b7f24fe5
Add nix flake ( #2664 )
...
* Add nix flake
* Add `rust-src` component
* Fix missing `SHADERC_LIB_DIR`
* Use nightly rustfmt
* Address review comments
2025-03-18 19:22:36 +01:00
marc0246
6ff349a2aa
Update concurrent-slotmap dependency and add a single-threaded slotmap ( #2657 )
...
* Update concurrent-slotmap dependency and add a single-threaded slotmap
* Improve bindless ID trait impls
* Improve `NodeId` trait impls
* Hide `Key` implementation detail from the docs
* Fix deferred example queueing too many submissions during initialization
2025-02-28 13:03:20 +01:00
marc0246
63615d99d8
Add UB check to FreeListAllocator::deallocate
( #2658 )
2025-02-28 11:17:29 +01:00
marc0246
2fc86c6141
Fix latest Clippy warnings
2025-02-24 18:26:02 +01:00
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
Rua
89c4441a20
#2654 changelog
2025-02-14 16:14:51 +01:00
Daan Michiels
96c991ab7b
Fix panic for non-contiguous push constants ranges ( #2654 )
...
* Add failing test case for push_constant_ranges_disjoint
* Fix failing test case for push_constant_ranges_disjoint
2025-02-14 16:14:02 +01:00
marc0246
f498b746cb
#2652 changelog
2025-02-11 16:38:41 +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
dd358a711b
Run Clippy on all CI targets ( #2636 )
...
* Run Clippy on all CI targets
* Fix macOS lints
2025-02-09 17:29:23 -06: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
marc0246
656e2c6ae6
#2644 changelog
2025-02-09 18:19:26 +01:00
Rua
5e3d7beff1
Add new
constructors for Info
structs that implement Default
( #2644 )
...
* Add `new` constructors for `Info` structs that implement `Default`
* Missed `DebugUtilsLabel`
* Resolve naming conflict
* Just deprecate
* Combine impl blocks
2025-02-09 18:18:27 +01:00
Rua
5df2dc578c
Rename existing Info
struct constructors to new
( #2643 )
...
* Rename existing `Info` struct constructors to `new`
* Make `const` where possible
* fmt
2025-02-09 17:12:42 +01:00
Austin Johnson
d3b3de0e42
#2645 / #2646 Changelog
2025-02-08 22:52:42 -06:00
marc0246
effede2963
Fix FreeListAllocator::reset
leaving the free-list empty ( #2646 )
2025-02-08 22:50:34 -06:00
Rua
2b91004093
Enable clippy ref_as_ptr
lint ( #2642 )
2025-02-07 20:06:48 +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
marc0246
84f75cc8a2
#2628 changelog
2025-02-07 19:13:31 +01:00
Rua
84c6ea92b6
Increase MSRV to 1.80 ( #2628 )
2025-02-07 19:12:52 +01:00
marc0246
478bad362e
Remove the ash::vk
stutter ( #2640 )
2025-02-07 11:17:47 +01:00
Austin Johnson
74d7dc5e3d
re-enable winit's default features
2025-02-06 18:30:50 -06:00
Rua
909096db31
Enable and fix rust_2024_incompatible_pat
lint ( #2631 )
2025-02-06 21:25:58 +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
fe6d81c15e
Remove the project showcase ( #2639 )
2025-02-06 17:32:10 +01:00
marc0246
6e3fdbf946
Remove the top-level dinosaurs ( #2638 )
2025-02-06 17:31:54 +01:00
marc0246
a552749470
Remove outdated maintainer references in the README ( #2637 )
2025-02-06 17:31:42 +01:00
Rua
d61d347baa
New release date
2025-02-06 16:06:22 +01:00
marc0246
f8273555b8
Fix borked memory map placed cfgs ( #2635 )
2025-02-06 16:05:56 +01:00
marc0246
0c58a300c1
Fix borked required subgroup size test ( #2634 )
2025-02-06 15:40:42 +01:00
marc0246
bde7f5007f
Fix borked secondary command buffer test ( #2633 )
2025-02-06 15:00:51 +01:00
marc0246
b1aebbb72a
Fix async-update example not clearing the swapchain image ( #2632 )
2025-02-06 07:34:16 -06: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
Rua
f5a77a2c5c
Clippy lints that were missed
2025-02-03 20:49:23 +01:00
marc0246
898db92a49
#2609 changelog
2025-02-03 18:03:12 +01:00
Rua
fbbcee9499
Add sparse binding support ( #2609 )
...
* Add sparse binding flags for buffers and images
* Add validated `bind_sparse` command
* Merge `assume_bound`, make sparse image memory requirements available for raw images
* Remove assert that sneaked back in
* Missing doc
* Update vulkano/src/memory/sparse.rs
Co-authored-by: Lachlan Deakin <ljdgit@gmail.com>
* Update vulkano/src/memory/sparse.rs
Co-authored-by: Lachlan Deakin <ljdgit@gmail.com>
* Update vulkano/src/memory/sparse.rs
Co-authored-by: Lachlan Deakin <ljdgit@gmail.com>
* Apply suggestions from code review
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Fix typo
* Remove silly validation
* Update vulkano/src/memory/sparse.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Use NonExhaustive
* Check if offset + extent is greater than subresource extent
---------
Co-authored-by: Lachlan Deakin <ljdgit@gmail.com>
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2025-02-03 18:01:41 +01:00
marc0246
ed8ebf91a5
Fix CommandBufferUsage
being unused in the vkBeginCommandBuffer
call ( #2626 )
2025-02-02 22:21:11 +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
6ae10df454
Ray Tracing Pipeline: SBT fixes & refactor examples ( #2617 )
...
* refactor copy SBT handles
* switch to perspective_rh & refactor build_top_level_acceleration_structure
* buffer alignment
2025-01-29 11:33:41 +01:00
marc0246
d31b5784c2
Fix latest clippy warnings
2025-01-28 13:13:26 +01:00