Commit Graph

4015 Commits

Author SHA1 Message Date
marc0246
94ad869779
#2675 changelog 2025-04-11 12:25:09 +02:00
Rua
b060328563
Refactor properties autogen (#2675) 2025-04-11 12:23:10 +02:00
marc0246
a4ad4c158f
Update build dependencies 2025-04-05 14:14:20 +02:00
marc0246
41fab6cece
#2670 changelog 2025-04-04 06:48:14 +02:00
Let
63cc50e6b2
Make PipelineCache::new safe (#2670)
* Add safe PipelineCache::new_empty method

* Add example to PipelineCache::merge

* Make `PipelineCache::new` safe
2025-04-04 06:45:28 +02:00
Rua
2668845fea
Clippy fixes for Rust 1.86.0 (#2674) 2025-04-04 06:44:36 +02:00
marc0246
b3e762bd3a
Improve examples scripts (#2397)
* Add other scripts

* Improve existing sh script's failsafes

* Remove all the Rust fluff from the sh scripts

* Make the sh scripts even more portable

* Remove `-o pipefail`

* Consolidate scripts, ignore excluded examples, exit on first error

* Make the scripts runnable from anywhere

* `run_all` -> `run-all`

* Remove `pipeline_cache.bin` in the PS script like in the sh script
2025-04-01 13:41:17 +02:00
Rua
ae1105c3d6
#2667 changelog 2025-03-26 16:31:05 +01:00
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