Andrei Stepanenko
22442a5e44
Update SwapchainCreateInfo image_extent doc ( #2065 )
...
Outdated mention of None
2022-10-30 18:39:21 +01:00
marc0246
3550dea3ed
Add support for the requires_dedicated_allocation
flag to GenericMemoryAllocator
( #2062 )
...
* Add support for the requires dedicated flag
* Engrish
2022-10-30 18:32:39 +01:00
marc0246
143efcd440
Fix some docs in the memory::allocator
module ( #2063 )
2022-10-30 18:31:03 +01:00
Austin Johnson
ca67fba38b
#2060 Changelog
2022-10-30 06:47:42 -05:00
Rua
76293baea8
Fix synchronization issue between command buffers ( #2060 )
2022-10-30 06:47:39 -05:00
Austin Johnson
22daa8c113
Fix unused import warnings on Windows ( #2059 )
...
* Fix unused import warnings on Windows
* Fix typo and fix warnings with tests
2022-10-30 11:27:58 +01:00
Rua
59a8c45563
Fix bug with surface_capabilities
extension structs attached to the wrong parent struct ( #2058 )
2022-10-30 05:09:01 -05:00
Rua
bdcb79609e
Update render pass checks for new VUID ( #2055 )
2022-10-30 04:37:34 -05:00
Rua
bb971bc5c5
Remove redundant return
2022-10-30 08:10:32 +01:00
marc0246
bb495cceb1
Add validation for binding dedicated allocations ( #2056 )
2022-10-30 08:01:36 +01:00
marc0246
9c18a0cb23
Add missing validation to DeviceMemory
( #2057 )
2022-10-30 07:58:37 +01:00
Rua
f19c114759
#2051 changelog
2022-10-29 19:58:04 +02:00
Joe O'Connor
b8245dbdf3
Add async future for Fence Signal ( #2051 )
...
* Add async future for Fence Signal
* Add async future for Fence
2022-10-29 19:57:20 +02:00
Rua
015b4cda29
#2053 changelog
2022-10-29 19:34:49 +02:00
marc0246
d5d47d7757
Further improvements to command buffer allocation ( #2053 )
2022-10-29 19:34:07 +02:00
marc0246
118b5b289b
Add homegrown IDs for Vulkan objects ( #2054 )
2022-10-29 19:32:43 +02:00
Austin Johnson
c6e01446ac
#2050 Changelog
2022-10-29 05:51:59 -05:00
Rua
4b77ef0595
Add new safe Buffer
and Image
types containing bound memory ( #2050 )
...
* Add new safe `Buffer` and `Image` types containing bound memory
* Doc fixes
* Include sparse memory requirements in `ImageMemory`
* Properly support `subresource_layout`
* Add cache to `subresource_layout`
2022-10-29 05:50:45 -05:00
Rua
45deca7327
Fix #2047 ( #2048 )
2022-10-29 05:17:15 -05:00
Rua
39ec4e3da2
#2052 changelog
2022-10-28 17:51:23 +02:00
insertt
0b59b05544
Fix depth and stencil attachment check when building pipeline ( #2052 )
2022-10-28 17:50:48 +02:00
marc0246
8670f3d251
#1997 fixes ( #2049 )
...
* Fix big oopsies
* Fix docs
* Syntactical improvements
* Use more fitting names for some private types
2022-10-28 09:23:29 +02:00
marc0246
8a1c91f556
Make command buffer/descriptor set allocators Sync
again ( #2046 )
...
* Make cmd buffer/desc set allocators `Sync` again
* Ingles
2022-10-27 20:59:47 +02:00
Rua
99aea525c0
#1997 changelog
2022-10-26 16:26:31 +02: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
f079c2bc08
#2043 #2044 additions
2022-10-24 16:53:57 +02:00
Austin Johnson
fb2c116f5c
#2044 Changelog
2022-10-24 02:34:01 -05:00
Rua
999f251443
Add checks for khr_portability_subset
( #2044 )
...
* Add checks for `khr_portability_subset`
* Better documentation
* Small fix
* Fix typo
2022-10-24 02:33:24 -05:00
Austin Johnson
f9932bcffc
#2043 Changelog
2022-10-23 17:42:28 -05:00
Rua
7e92f35b6e
Near-full support for VK_KHR_synchronization2
( #2043 )
...
* Near-full support for `VK_KHR_synchronization2`
* Missing validation checks
2022-10-23 17:42:23 -05:00
Austin Johnson
2738541b42
#2041 Changelog
2022-10-23 17:29:45 -05:00
Rua
0b5ad98b44
Move resource locking to submit
function ( #2041 )
2022-10-23 17:29:40 -05:00
Rua
a9bd46e96a
#2037 changelog
2022-10-20 10:05:44 +02:00
Rua
b923001faf
Rename internal_object
to handle
( #2037 )
2022-10-20 10:05:00 +02:00
Austin Johnson
52d4b32988
#2036 Changelog
2022-10-20 02:26:38 -05:00
Rua
cdab36a322
Remove type parameter from Surface
( #2036 )
2022-10-20 02:26:34 -05:00
marc0246
725c12c542
Minor tweaks to DeviceMemory
( #2038 )
...
* Minor tweaks to `DeviceMemory`
* Remove `Copy` from non-exhaustive structs
* Derp
* Inline wrappers
2022-10-14 10:41:44 +02:00
Rua
b50a9d8d5d
Some of vkQueueSubmit2 is supported but not all
2022-10-13 09:50:07 +02:00
Rua
0e475e6126
#2035 additions
2022-10-13 09:47:20 +02:00
Austin Johnson
88c7473509
#2035 Changelog
2022-10-12 19:04:58 -05:00
Rua
43223f564b
Add safety checks to semaphores, add importing and exporting ( #2035 )
...
* Add safety checks to semaphores, add importing and exporting
* Small fix
* Limit test to unix only
2022-10-12 19:04:54 -05:00
Rua
bda4aaaf2c
#2030 doc fixes ( #2032 )
2022-10-12 18:55:21 -05:00
Rua
c94a494fc0
#2034 changelog
2022-10-12 11:38:12 +02:00
daigennki
1bb2602c96
Fixed queue family index count not being set in buffers and images ( #2034 )
2022-10-12 11:37:18 +02:00
Rua
ac914d104a
#2033 changelog
2022-10-10 16:35:22 +02:00
marc0246
c8b611a4e9
Switch to an atomic counter for DeviceMemory
allocations ( #2033 )
...
* Add atomic counter for `DeviceMemory` allocations
* Switch to atomics only
2022-10-10 16:34:42 +02:00
Rua
2ccf985acf
#2031 changelog
2022-10-09 13:51:46 +02:00
marc0246
605bf429ac
Fix missing validation when binding memory to buffers with the shader_device_address
usage ( #2031 )
...
* Add `MemoryAllocateFlags`
* Add validation to `UnsafeBuffer::bind_memory`
* Fix fn ptr in `BufferAccess::raw_device_address`
* Oopsie
* More validation, reject `device_address` on EXT
* Fix links
* Fix docs
2022-10-09 13:49:50 +02:00
Austin Johnson
5ea2f3feba
#2030 Changelog
2022-10-08 08:22:41 -05:00
Rua
df26f8105e
Buffer and image uploads take a command buffer instead of making one ( #2030 )
2022-10-08 08:22:37 -05:00