Commit Graph

3475 Commits

Author SHA1 Message Date
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
Rua
8409173203
Check for empty aspects when creating ImageView (#2028) 2022-10-08 08:14:07 -05:00
marc0246
3c6c1c909f
Remove unneccessary muts left after #1957 (#2029) 2022-10-07 08:59:54 +02:00
Rua
9f0fd9df63
#2024 additions 2022-10-06 14:46:31 +02:00
Rua
6f812b1f4d
Minor documentation fixes (#2025) 2022-10-06 07:40:42 -05:00
Austin Johnson
376df7ad7f
#2024 Changelog 2022-10-06 07:40:01 -05:00
Rua
aafee08db0
Add support for Unix and Windows external fences (#2024)
* Add support for Unix and Windows external fences

* Grumble...
2022-10-06 07:39:28 -05:00
Rua
de920e4a3c
Better error message when source is too small for ImmutableImage (#2022) 2022-10-06 07:36:38 -05:00
Austin Johnson
f99c67929f
Fix checks from #2009 (#2023) 2022-10-06 10:53:50 +02:00
lilly lizard
2992f0d0fc
Fix physical device surface querying regression #2026 by removing surface caching (#2027)
* removed cache check for PhysicalDevice::surface_capabilities_unchecked, fixing window resize bug

* Fixed bug where new caching functionality caused surface queries to be
out of date. surface_capabilities, surface_formats,
surface_present_modes and surface_support are no longer cached as it is
proven that surface properties can change at runtime for a given
surface/physical device.

* Re-added caching for VK_KHR_surface structs surface_formats, surface_present_modes and surface_support, because unlike surface_capabilities, it is almost certain they won't change at runtime.

* remove surface_capabilities cache from macos/ios to fix builds
2022-10-06 10:52:57 +02:00
Rua
b12e8f97e4
Missed changes 2022-10-05 16:28:53 +02:00
Rua
b686ee39cb
#1957 changelog 2022-10-05 11:10:43 +02:00
marc0246
ef65c98ad1
Move to manual management of descriptor set and command buffer allocators (#1957)
* Rename `Pool` -> `Allocator`

* Fix module names

* Rename actual pool types

* Remove internally managed allocators

* Fix doc tests

* Update docs

* Update examples

* Fix merging oopsie

* Fix cb allocators only working for one q family

* Make `DescriptorPool` `!Sync`, remove `&mut`

* Combine lean files

* Consistency

* Rename single layout pools

* Re-export variable descriptor set pool

Co-authored-by: comrademarc <40955683+comrademarc@users.noreply.github.com>
2022-10-05 11:09:26 +02:00
Rua
f70f43340f
Shorten the labels a bit to make it less wide 2022-10-04 18:27:40 +02:00
Rua
7b49dcefe9
More complete shield links (#2021) 2022-10-04 11:21:44 -05:00
marc0246
143390bc57
Fix clippy warnings resulting from #2016 (#2020) 2022-10-04 12:25:34 +02:00
Rua
30c8eadf33
#2015 additions 2022-10-04 11:17:43 +02:00
Austin Johnson
a08dde7374
#2015 Changelog 2022-10-04 04:08:26 -05:00
Rua
c3f00cc21b
Add support for ext_validation_features (#2015) 2022-10-04 04:08:04 -05:00
Austin Johnson
169d5f4f5e
v0.31.1 Changelog 2022-10-04 03:57:54 -05:00
marc0246
b8d7cc3241
The deed (#2016) 2022-10-04 10:50:58 +02:00
marc0246
7e3515e6eb
Replace generics with impl Trait (#2017) 2022-10-04 10:06:36 +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
2277448a0e
Recent additions 2022-10-03 10:22:12 +02:00
Austin Johnson
06dd7cacb6
#2014 Changelog 2022-10-02 20:19:11 -05:00
Rua
0b4f62cfbd
Add support for khr_surface_protected_capabilities extension (#2014) 2022-10-02 20:19:04 -05:00
Austin Johnson
e4aed92dd5
#2013 Changelog 2022-10-02 20:16:25 -05:00
Rua
f30cc19cff
Add remaining ColorSpace variants (#2013) 2022-10-02 20:16:19 -05:00
Austin Johnson
02b602fa8f
#2012 Changelog 2022-10-02 20:14:28 -05:00
Rua
1c77aeb455
Add support for layer extensions to VulkanLibrary (#2012) 2022-10-02 20:14:25 -05:00
Harald Steinmueller
75ef5218c4
#1935 add from_handle to DeviceMemory (#2011)
* #1935 add from_handle to DeviceMemory

* change parameter order and fix documentation
2022-10-02 15:19:53 +02:00
Rua
7a34d9c080
#2009 changelog 2022-10-02 10:46:19 +02:00
Austin Johnson
6e4d8c3494
Swapchain acquisition checks (#2009)
* Initial solution to swapchain acquisition checks

* replace internal_object comparisons
2022-10-02 10:44:46 +02:00
Rua
cc6e46c6a3
For clarity, since Additions mentions this type 2022-10-02 09:58:56 +02:00
Rua
c0331cf7ee
Rearrange a bit 2022-10-02 09:57:14 +02:00