Rua
fb828a6db2
Clippy fixes for Rust 1.73.0 ( #2347 )
...
* Clippy fixes for Rust 1.73.0
* Doc fixes too
2023-10-07 14:13:17 +02:00
marc0246
5578bf30da
Memory (sub)allocation API 2.0 ( #2316 )
...
* Excommunicate `PoolAllocator`
* Switch to manual deallocation
* Move `ResourceMemory` away from the `suballocator` module
* Remove `SuballocatorError::BlockSizeExceeded`
* Fix examples
* Fix atom size
* Address safety TODOs
* Nice English you got there bro
2023-09-03 13:09:07 +02:00
Rua
b3dbca4001
Rust 1.72 fixes ( #2302 )
2023-08-25 03:01:45 +02:00
Kevin Ji
4133a3bf63
Use OR
operator in Cargo.toml license
field ( #2293 )
...
The use of `/` is deprecated, per the Cargo reference:
https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields
2023-08-18 13:36:49 +02:00
Rua
5c67f85c99
Improve debug messenger, remove second Instance
constructor ( #2275 )
...
* Improve debug messenger, remove second `Instance` constructor
* #2242
* Doctest fix
* Take Arc out
* DeviceOwnedVulkanObject
* Update vulkano/src/device/mod.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/src/instance/debug.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Fixes
---------
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-08-05 20:57:37 +02:00
Rua
b7c79acb77
ValidationError-ify futures ( #2271 )
...
* ValidationError-ify sync primitives
* Fix Windows error
* Return timeouts as errors instead
* Simplify a bit
* ValidationError-ify futures
* Update vulkano/src/sync/future/semaphore_signal.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/src/swapchain/acquire_present.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/src/sync/future/fence_signal.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
---------
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-08-04 22:02:45 +02:00
Rua
0f5e298f29
Add Format::UNDEFINED
( #2262 )
...
* Add `Format::UNDEFINED`
* Use `iter::once`
2023-07-14 16:44:34 +02:00
Rua
3a5b8a4432
ValidationError-ify images and image views, fix DRM format modifiers ( #2252 )
...
* ValidationError-ify images and image views, fix DRM format modifiers
* Update examples/src/bin/triangle-v1_3.rs
Co-authored-by: Austin Johnson <me@austinj.me>
* Update examples/src/bin/triangle.rs
Co-authored-by: Austin Johnson <me@austinj.me>
---------
Co-authored-by: Austin Johnson <me@austinj.me>
2023-07-06 03:52:11 -05:00
marc0246
7a8fec9e75
Unify all image types ( #2247 )
...
* Move `Image` to the `image` module
* Unify all image types
* Fix tests
* Fix examples
* Oopsie
* Don't re-export `ImageViewType`
* Fix docs
* Fix gl-interop example
2023-07-03 22:37:29 +02:00
Rua
da09477d01
ValidationError-ify Surface
and Swapchain
( #2236 )
...
* Add `RequiresAllOf`, automatically enable required extensions and features
* Add more missing backticks and backslashes to error messages
* Use updated VUIDs that require `acceleration_structure`
* ValidationError-ify `Surface` and `Swapchain`
* Update vulkano/src/lib.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Update vulkano/src/lib.rs
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
* Don't draw if the window has zero size
---------
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-06-26 11:17:53 +02:00
Rua
9fd6e0ff45
Add support for khr_device_group_creation
( #2227 )
...
* Add support for `khr_device_group_creation`
* Fix vulkano-utils
* Apply fixes
2023-06-17 20:18:48 +00:00
Gábor Gyebnár
cd9f081e3a
Fixes all examples to use at least two swapchain buffers ( #2218 )
...
* Fixes all examples to use at least two swapchain buffers.
* Fix build error
2023-06-02 22:01:38 +02:00
marc0246
77fa2bbfcc
Add Surface::from_window[_ref]
, deprecate vulkano-win ( #2204 )
...
* Add `Surface::from_window[_ref]`
* Add `Surface::required_extensions`
* Deprecate vulkano-win
* Fix SPIR-V word alignment in tests
* Fix oopsie
* Remove pointer transmute
2023-05-12 09:52:20 +02:00
marc0246
096d3bc660
Publish vulkano-macros ( #2175 )
...
* Publish vulkano-macros
* Document `vulkano-macros`
* Make macros dependency optional
* Document `macros` feature
* Fix outdated docs
* Derp
2023-04-02 23:33:01 -05:00
Rua
1f31e85c5e
Release Vulkano 0.33.0 ( #2169 )
...
* Release Vulkano 0.33.0
* Update changelog for recent changes
* Derp
2023-04-02 18:38:06 -05:00
Rua
41ded32156
Update dependencies, clippy warnings ( #2142 )
...
* Update dependencies, clippy warnings
* Remove allowed clippy lint that no longer triggers as of Rust 1.67.1
2023-03-05 20:12:17 -06:00
Rua
6eb526322b
Fix clippy warnings from Rust 1.66 ( #2105 )
2022-12-18 10:23:40 -06:00
Okko Hakola
6de6050764
Remove allocator from window renderer inputs ( #2085 )
2022-11-12 16:10:40 +01:00
Rua
a984a925c4
Use actual integer bitflags for Vulkan bitflag types ( #2073 )
...
* Use actual integer bitflags for Vulkan bitflag types
* Fix doc tests
* Fix Fence and Semaphore on Win32 and Fuchsia
* Add macro for bitflags that have a corresponding enum
* Fix bug
2022-11-05 00:02:28 -05:00
Rua
1f1c2322b6
Release Vulkano 0.32.0 ( #2061 )
...
* Release Vulkano 0.32.0
* Update CHANGELOG.md
Co-authored-by: Austin Johnson <me@austinj.me>
2022-10-31 03:09:41 -05:00
marc0246
34b709547f
Memory allocation revamp ( #1997 )
...
* Add suballocators
* Add tests
* Retroactively abort `PoolAllocatorCreateInfo`
* Use const generic for `PoolAllocator`'s block size
* Move `new` and `try_into_region` to `Suballocator`
* Move `allocate_unchecked` to `Suballocator`
* Fix constructor visibility
* Move `free_size` to `Suballocator`
* Small fixes
* Merge `BumpAllocator` and `SyncBumpAllocator`
* Restrict `AllocParent::None` to tests
* Rewording
* Add dedicated allocations
* Add `Suballocator::cleanup`
* Make `free_size`s lock-free
* Add `Suballocator::largest_free_chunk`
* Add `ArrayVec`
* Remove useless `unsafe`
* Add `MemoryAllocator`
* Add `GenericMemoryAllocator`
* Small fixes
* Retroactively abort `largest_free_chunk`
* Small docs adjustments
* Rearrange
* Add `MemoryAlloc::mapped_ptr`
* Fix oopsie
* Add support for non-coherent mapped memory
* Add `DeviceOwned` subtrait to `Suballocator`
* Move granularities to suballocators, fix tests
* Add cache control
* Fix oopsie where alignment of 0 is possible
* Store `Arc<DeviceMemory>` in suballocators
* Add `MemoryAllocator::create_{buffer, image}`
* Remove `MemoryPool`
* Fix examples
* Remove `MemoryAlloc::{memory, memory_type_index}`
* Minor improvement to `AllocationCreationError`
* Add some example docs
* Add support for external memory
* Swicheroo
* Small fix
* Shorten sm names, cache atom size in suballocators
* Add config for allocation type to generic allocatr
* Engrish
* Fix a big oopsie
* Spliteroo
* Inglisch
2022-10-26 16:25:01 +02:00
Rua
cdab36a322
Remove type parameter from Surface
( #2036 )
2022-10-20 02:26:34 -05:00
marc0246
b8d7cc3241
The deed ( #2016 )
2022-10-04 10:50:58 +02:00
marc0246
1c2d195dab
Improvements to caches and switch to ahash
( #2019 )
...
* Add `OnceCache`
* Switch to `ahash`
2022-10-04 10:04:52 +02:00
Rua
f78e06fc6e
#2007 fixes ( #2008 )
2022-10-01 21:19:25 -05:00
Rua
c085dd8d9f
Queue operations refactoring ( #1995 )
2022-09-24 01:45:06 -05:00
Austin Johnson
137fb9f24b
Release 0.31 ( #1990 )
2022-09-18 05:46:53 -05:00
Austin Johnson
8e8482016a
Impl Present Wait Feature ( #1965 )
...
* impl present_wait feature
* handle timeout case
* add missing doc
* document the return type of wait_for_present
* impl check for VUID-04999
* don't enforce gt if present_id is zero
* impl PresentInfoExt
* Remove NonZeroU64 from wait_for_present in favor of an error
* fix gl-interop example
* fix docs and fmt
* PresentInfoExt -> PresentInfo, Added swapchain + index to info
* fix doc test, didn't save file...
* fix gl-interop
* Remove Whitespace
2022-09-17 09:38:32 +02:00
Rua
4abc27b9e5
Make PhysicalDevice
an independent object ( #1967 )
...
* Better validation and errors
* Small fix
* Make `PhysicalDevice` an independent object
Co-authored-by: Austin Johnson <me@austinj.work>
2022-09-10 01:00:08 -05:00
Rua
2705984c77
Macrofy all Vulkan bitflag and enum types, check for device support ( #1964 )
2022-09-05 15:16:40 -05:00
Rua
f0e6e4c6b7
Fix or allow all Clippy errors, re-enable dead code and unused variable warnings ( #1953 )
2022-08-12 05:18:35 -05:00
Okko Hakola
062b5e2f96
Ios fix ( #1950 )
...
* Fix iOS, use similar approach for metal layer as wgpu
* Use correct return type
* Handle ios resizing
* Add changelog notes
* Fix typo
* Update raw-window-handle
* Ensure mac changes correspond master version
2022-08-11 09:49:29 +02:00
Okko Hakola
ac32c625cd
Better defaults for vulkano config ( #1942 )
...
* Better defaults for vulkano config
* Update changelog
2022-08-06 14:08:51 +02:00
Rua
14f14f76ee
Update winit to 0.27 ( #1933 )
...
* Update winit to 0.27
* Fix windows
* Better fix?
2022-07-30 01:58:44 -05:00
Rua
6a755cd2f3
Add VulkanLibrary
as first initialization step before Instance
( #1932 )
...
* Add `VulkanLibrary` as first initialization step before `Instance`
* Fix MacOS error
* Fix Vulkano-utils
2022-07-30 01:53:52 -05:00
Austin Johnson
6a8ee8d75f
Release 0.30 ( #1929 )
2022-07-20 03:50:41 -05:00
Austin Johnson
df97b2c55f
Support for VK_KHR_portability_subset Devices ( #1927 )
...
* opt-in portability
* Only enable portability flag if extension is present
Automatically enable khr_portability_subset on Device; Remove required_extensions from PhysicalDevice & Device
* enable InstanceCreateInfo.enumerate_portability on all examples
* add additional documentation for enumerate_portability
2022-07-18 15:11:43 +02:00
Okko Hakola
5e298d6bb7
Allow setting present mode in vulkano util's window renderer ( #1922 )
...
* Allow swapchain recreation with new present mode in utils
* Add doc text
* Add to changelog
2022-07-13 12:25:32 +02:00
Okko Hakola
18f68337a5
Vulkano util proposal ( #1918 )
...
* Init vulkano util library
* Add window & renderer structs
* Update fractal to use vulkano utils
* Add general purpose image view generation to storage image
* Add some missing functionality
* Fix game of life
* Rename error
* Fix tests
* Update documentation texts
* Modify license comment
* Add to changelog
* Improve docs
* Allow option to wait on the future
* Update doc text
* Add filter fn
* Modify queue selection
* Fix import error
* Remove non working tests
* Rename start and finish frame to acquire and present
* Allow pub creation of window renderer
* Ensure config members are pub and it has send + sync
* Remove send syncs
2022-06-24 17:27:33 +02:00