Commit Graph

3901 Commits

Author SHA1 Message Date
marc0246
c1e59170a5
Fix allocation type validation in RawImage::bind_memory (#2256)
* Fix allocation type validation in `RawImage::bind_memory`

* Fix a link

* Fix DRM format modifier image tiling to allocaion type convertion

* Add commas
2023-07-08 12:09:59 +02:00
marc0246
2b39dbed7c
Forgor one #2252 addition 2023-07-08 07:23:46 +02:00
marc0246
2904a7bbce
#2252 additions 2023-07-08 07:21:29 +02:00
marc0246
af065814bc
#2254 changelog 2023-07-06 13:27:22 +02:00
Rua
cf46928925
ValidationError-ify command buffers and command pools (#2254) 2023-07-06 13:26:42 +02:00
marc0246
88a304fc17
#2253 changelog 2023-07-06 12:45:44 +02:00
Rua
b74ce40b2c
Box ValidationError (#2253) 2023-07-06 12:43:45 +02:00
Austin Johnson
622ec47970
#2252 Changelog 2023-07-06 03:52:15 -05: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
Rua
6b4a309a24
#2239 changelog 2023-07-04 17:06:44 +02:00
marc0246
1d6b4458c6
Improve debug formatting (#2239)
* Fix `Debug` impl of `Surface`

* Derive `Debug` for `Swapchain` since the manual impl is doing the same

* Remove cache-fields from the `Debug` output of `PhysicalDevice`

* Fix `Debug` impl of `{Instance,Device}Functions`

* Reduce the amount of spam when debug-printing `Device`

* Fix `Debug` impl of `dyn Loader`

* Fix dead code warning

* Add `id` field to the `Debug` output of `Instance`

* More useful `Debug` impl for pipelines

* More useful `Debug` impl of `UnsafeDescriptorSet`

* Rearrange

* Spacing

* Don't follow references at all when debug-formatting

* Add device/instance handles to device-owned/instance-owned reference dbg

* Add missing reference wrappers

* Consistency
2023-07-04 17:06:11 +02:00
marc0246
0338a36463
#2249 changelog 2023-07-04 06:03:41 +02:00
Rua
fb3c53d7ad
Fix swapped union/intersection for extensions (#2249) 2023-07-04 06:02:41 +02:00
Rua
a7370c9ca7
#2247 changelog 2023-07-03 22:38:38 +02: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
25a371a86a
ValidationError-ify Buffer and BufferView (#2244)
* ValidationError-ify `Buffer` and `BufferView`

* Simpler pub use
2023-07-03 21:17:36 +02:00
SedenionProj
bef57db9bb
Update README.md (#2250)
update introduction link
2023-07-03 20:15:27 +02:00
marc0246
6a3fbf52a1
#2245 changelog 2023-06-30 11:22:31 +02:00
Rua
204811de19
ValidationError-ify samplers (#2245)
* ValidationError-ify samplers

* Fix doctests
2023-06-30 11:21:18 +02:00
Rua
e65a2bc1f8
It turns out we don't actually have to do anything to support this 2023-06-29 21:05:05 +02:00
Rua
a1cfb295e6
#2243 changelog 2023-06-29 13:31:07 +02:00
Hadrien G
65faf9b937
Fix UAF in debug utils names setup (#2243) 2023-06-29 13:30:13 +02:00
marc0246
ac21fa9db5
#2241 changelog 2023-06-28 22:12:44 +02:00
Rua
5a0bd555e9
Update dependencies (#2241) 2023-06-28 22:11:56 +02:00
Rua
4eceb49b6c
#2240 changelog 2023-06-27 17:06:40 +02:00
marc0246
a9c41ee0f7
Add missing _ne field to pipeline state create infos (#2240) 2023-06-27 17:05:16 +02:00
marc0246
8375eddb65
#2237 changelog 2023-06-27 12:21:41 +02:00
Rua
b4f4090041
ValidationError-ify memory and memory allocators (#2237)
* Add `RequiresAllOf`, automatically enable required extensions and features

* Add more missing backticks and backslashes to error messages

* Use updated VUIDs that require `acceleration_structure`

* Fix `check_requirements`

* ValidationError-ify memory and memory allocators

* 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>

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-06-27 12:20:45 +02:00
Rua
c1c188b00c
Not all of it is implemented 2023-06-26 11:34:45 +02:00
marc0246
0b9bca6646
#2236 changelog 2023-06-26 11:20:30 +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
marc0246
2d6ff1061c
#2234 changelog 2023-06-25 22:10:19 +02:00
Rua
69677346d2
ValidationError-ify GraphicsPipeline (#2234)
* 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 `GraphicsPipeline`

* 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>

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-06-25 20:08:27 +02:00
Rua
862e73bbc3
Add missing extensions as of Vulkan 1.3.255 2023-06-25 17:40:44 +02:00
Rua
6298e1b961
#2233 changelog 2023-06-25 17:16:20 +02:00
Rua
0427482ca6
Add RequiresAllOf, automatically enable required extensions and features (#2233)
* Add `RequiresAllOf`, automatically enable required extensions and features

* Add more missing backticks and backslashes to error messages

* Use updated VUIDs that require `acceleration_structure`

* Fix `check_requirements`

* Cooperation go brr

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-06-25 17:01:14 +02:00
marc0246
223beb97e9
#2225 changelog 2023-06-17 22:44:31 +02:00
Rua
f10c594182
Add support for inline uniform blocks (#2225)
* Add support for inline uniform blocks

* Make this match exhaustive so it triggers if new descriptor types are added in future

* Return RuntimeError from pool allocation

* Doc improvement

* Doc fix

* Apply fixes
2023-06-17 20:44:04 +00:00
marc0246
921d0a5887
#2227 changelog 2023-06-17 22:21:28 +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
Rua
c5aa3f36b2
Prevent panic on overflow in validate_push_constants (#2232) 2023-06-17 19:13:11 +00:00
marc0246
508005c974
#2223 changelog 2023-06-17 21:11:45 +02:00
Rua
45f69c17a2
Add support for two render pass extensions (#2223)
* Reorganise render pass objects, add support for some extensions

* Handle stencil initial/final layout in the macro

* This was promoted to 1.2, not 1.1

* Doctests again...

* Missing docs

* Fix bad validation

* Convert Framebuffer to ValidationError while we're at it

* FramebufferCreateFlags

* Make render pass creation more like Vulkan again

* TODO for depth_resolve_mode and stencil_resolve_mode in the macro

* Depth/stencil resolve modes

* Missed validation

* Forgot some testing code...

* msaa-renderpass docs

* Doc fixes

* Add missing backslashes
2023-06-17 19:01:50 +00:00
Codotaku
3fdf75a727
Add fallback library names (#2230) 2023-06-17 13:25:24 +02:00
marc0246
638f72279b
#2224 changelog 2023-06-09 10:40:07 +02:00
Rua
73fb509867
Add TessellationDomainOrigin (#2224)
* Add `TessellationDomainOrigin`

* Docs
2023-06-09 10:39:42 +02:00
marc0246
aa82557c11
Fix UB in Subbuffer::reinterpret (#2228) 2023-06-08 18:42:16 +02:00
Rua
8b6d25c43a
@2220 changelog 2023-06-08 11:11:01 +02:00
marc0246
eb97cf2808
Fix UB in push_constants (#2220) 2023-06-08 11:10:25 +02:00
marc0246
1f50703428
More #2219 additions 2023-06-05 07:29:18 +02:00