Commit Graph

3592 Commits

Author SHA1 Message Date
Rua
a1dca4261d
#2235 changelog 2023-08-18 13:38:28 +02:00
Rua
6af772b912
#2235 additions 2023-08-18 13:37:49 +02:00
charles-r-earp
ee4e3089d3
Added required_subgroup_size to PipelineShaderStageCreateInfo (#2235)
* Added required_subgroup_size to PipelineShaderStageCreateInfo

* Added validation errors.

* Fixed error msgs / vuids.

* ComputeShaderExecution for validating local_size.

* WorkgroupSizeId reflection.

* contains_enum

* Reworked ComputeShaderExecution.

* panic msgs.

* workgroup size validation

* unused import

* fixed test deprecated fn

* catch workgroup size overflow

* EntryPointInfo::local_size docs

* comments

* typo + error msg
2023-08-18 13:37:10 +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
marc0246
ff7b4fc90e
Fixed borked panic message in Buffer::from_data / Buffer::from_inter (#2292) 2023-08-17 18:32:08 +02:00
Rua
2d391f3760
Use regex 1.8 as minimum (#2291) 2023-08-16 21:01:14 +02:00
marc0246
db3df4e55f
Restore old initial/final layout requirement bahavior (#2288) 2023-08-16 11:53:38 +02:00
vE5li
54d20c0378
Memory allocator impl (#2289)
* Make the impl of Arc for MemoryAllocator more generic

* Make the impl of Arc for CommandBufferAllocator more generic

* Make the impl of Arc for DescriptorSetAllocator more generic
2023-08-16 11:52:59 +02:00
marc0246
e9081db64e
#2284 changelog 2023-08-09 21:25:56 +02:00
Rua
5ca4805cbf
Fix #2203 (#2284) 2023-08-09 21:25:05 +02:00
Rua
c0379fce96
Remove remaining old error types, other cleanup (#2281)
* Remove remaining old error types, other cleanup

* Fix

* Add and fix or_fun_call lints

* Update vulkano/src/query.rs

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>

* Fix slightly borked context messages

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-08-09 21:19:38 +02:00
Rua
c8b50b11fc
Document recommendations and limitations of automatic layout creation (#2282) 2023-08-09 21:19:26 +02:00
marc0246
e990f29bb7
#2276 changelog 2023-08-09 20:24:16 +02:00
Rua
6087ae1b1c
Make stencil_usage an Option (#2276)
* Make stencil_usage an Option

* Small doc fixes
2023-08-09 20:23:24 +02:00
marc0246
db0b02a954
#2275 changelog 2023-08-05 20:58:53 +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
marc0246
344a15d677
#2280 changelog 2023-08-05 16:47:49 +02:00
Rua
cf8e8c3732
Some shader fixes and improvements (#2280) 2023-08-05 16:47:17 +02:00
marc0246
b00e6627b4
#2271 changelog 2023-08-04 22:04:49 +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
12dc95c6ec
Fix accidental leftover todo (#2277) 2023-08-04 22:01:55 +02:00
marc0246
0cc5ecc7b8
#2270 changelog 2023-08-04 21:35:27 +02:00
Rua
fefb3b8733
ValidationError-ify queries (#2270)
* ValidationError-ify commands, add some validation to `UnsafeCommandBufferBuilder`

* Use `SubpassBeginInfo` for the triangle example

* ValidationError-ify queries
2023-08-04 21:34:43 +02:00
marc0246
e691928c03
#2266 changelog 2023-08-04 20:57:28 +02:00
Rua
d0144c2d98
ValidationError-ify commands, add some validation to UnsafeCommandBufferBuilder (#2266)
* ValidationError-ify commands, add some validation to `UnsafeCommandBufferBuilder`

* Use `SubpassBeginInfo` for the triangle example
2023-08-04 20:55:16 +02:00
Rua
0cb0728776
1.3.260 spec 2023-08-04 11:09:44 +02:00
marc0246
48e1b4563f
#2268 changelog 2023-07-24 22:22:05 +02:00
Rua
17dbd1ac2c
ValidationError-ify ShaderModule (#2268)
* ValidationError-ify `ShaderModule`

* Typo

* Remove leftover comments

* slice, not Iterator

* Update vulkano/src/shader/mod.rs

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>

* Update vulkano/src/shader/mod.rs

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-07-24 22:21:05 +02:00
marc0246
3300f9095d
#2269 changelog 2023-07-24 22:07:09 +02:00
Rua
59b53d7e6f
ValidationError-ify last remnants (#2269) 2023-07-24 22:06:22 +02:00
marc0246
69a0a7a74c
#2267 changelog 2023-07-24 21:29:18 +02:00
Rua
4d9288bc42
ValidationError-ify sync primitives (#2267)
* ValidationError-ify sync primitives

* Fix Windows error

* Return timeouts as errors instead

* Simplify a bit
2023-07-24 21:28:39 +02:00
Rua
fb0b2ba8e1
#2264 changelog 2023-07-19 11:12:12 +02:00
marc0246
2c0067067c
Switch to a more expressive way to specify memory usage (#2264)
* Switch to a more expressive way to specify memory usage

* Fix tests

* Fix examples

* Forgot to adjust `SubbufferAllocatorCreateInfo::location_preference`s

* Oopsie

* Redo all of it

* Oopsie
2023-07-19 11:11:17 +02:00
marc0246
a4406bf314
#2262 changelog 2023-07-14 16:45:59 +02:00
Rua
0f5e298f29
Add Format::UNDEFINED (#2262)
* Add `Format::UNDEFINED`

* Use `iter::once`
2023-07-14 16:44:34 +02:00
marc0246
6dc8e64ac7
Fix suboptimal MemoryUsage for download in examples (#2260) 2023-07-10 22:30:27 +02:00
Rua
1350d69582
#2258 changelog 2023-07-10 12:37:31 +02:00
marc0246
c0bc610037
Add validation for VkExportMemoryAllocateInfo (#2258)
* Add validation for `VkExportMemoryAllocateInfo`

* Fix oopsie
2023-07-10 12:36:57 +02:00
marc0246
3ae450ada0
Use the validated bind_memory functions in Buffer and Image (#2259)
* Use the validated `bind_memory` functions in `Buffer` and `Image`

* Remove allocation shrinking
2023-07-10 12:28:04 +02:00
Rua
f4498585ad
#2256 changelog 2023-07-08 12:10:35 +02:00
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