Rua
10148c5e94
#2306 changelog
2023-08-26 11:26:36 +02:00
marc0246
0c714c1bfe
Fix validation and errors in MemoryAllocator
( #2306 )
...
* Fix validation and errors in `MemoryAllocator`
* Doc tests
* Update vulkano/src/memory/allocator/mod.rs
Co-authored-by: Rua <ruawhitepaw@gmail.com>
---------
Co-authored-by: Rua <ruawhitepaw@gmail.com>
2023-08-26 11:26:02 +02:00
Matthieu Vachon
d1a17f9510
Improved display of some error and remove unimplemented!
for UnexpectedImageLayout
display ( #2305 )
...
It appeared to me quite often that I've it some error and the message was lost on display because some `Display` implementation don't record the cause. Improved some of those that I've spotted while debugging some bad code I had.
Also removed the `unimplemented` for `AccessError::UnexpectedImageLayout` and now giving a more descriptive message.
2023-08-26 09:57:27 +02:00
Rua
c8ad5a4512
Fix erroneous used range for buffers in descriptor sets ( #2303 )
...
* Fix erroneous used range for buffers in descriptor sets
* Fix mistake resulting from an error in the spec that was just fixed
2023-08-25 21:15:23 +02:00
marc0246
49a8f6607c
#2301 changelog
2023-08-25 20:42:18 +02:00
Firestar99
80023d2a1a
ShaderModule::single_entry_point() ( #2301 )
...
* added ShaderModule::single_entry_point() functions
* single_entry_point() always verifies it's the sole entry point, search optimizations
* single_entry_point() docs adjustments
* ShaderModule removed entry_point_map, instead entry points are searched linearly search though a Vec
---------
Co-authored-by: Firestar99 <4696087-firestar99@users.noreply.gitlab.com>
2023-08-25 20:41:17 +02:00
Rua
b3dbca4001
Rust 1.72 fixes ( #2302 )
2023-08-25 03:01:45 +02:00
Rua
914bfa4f37
#2300 additions
2023-08-24 16:48:57 +02:00
Rua
29acac5711
#2300 changelog
2023-08-24 16:48:21 +02:00
marc0246
de7b6a91a0
Merge MappedDeviceMemory
into DeviceMemory
, make MemoryAlloc
reuse the logic ( #2300 )
...
* Merge `MappedDeviceMemory` into `DeviceMemory`
* Fix soundness and utilize new `DeviceMemory` methods in `MemoryAlloc`
* Fix oopsies
* `Sync`ness
* `#[inline]`
* Big oopsie
* Language
* Sanity check for the deprecated stuff
* Full `khr_map_memory2`
* Missed trait impls
* `MemoryUnmapInfo::validate`
* Document mapping behavior of `GenericMemoryAllocator`
* Validate flags
* Update vulkano/src/memory/allocator/mod.rs
Co-authored-by: Rua <ruawhitepaw@gmail.com>
* Remove flags
* Errors
---------
Co-authored-by: Rua <ruawhitepaw@gmail.com>
2023-08-24 16:46:38 +02:00
Rua
015c057fa1
#2295 additions
2023-08-24 15:58:14 +02:00
marc0246
3dcae6713f
#2295 changelog
2023-08-24 02:57:28 +02:00
Rua
43db3eaf72
Refactor the khr_display
implementation ( #2295 )
...
* Refactor the `khr_display` implementation
* Doc fixes
* Move display out of the swapchain module, as it's usable independently
2023-08-24 02:51:02 +02:00
marc0246
3898490bf6
#2299 changelog
2023-08-24 02:04:00 +02:00
Rua
15665c3437
Add support for pipeline derivatives ( #2299 )
...
* Add support for pipeline derivatives
* Doc derp
* Formatting
---------
Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-08-24 02:02:09 +02:00
Rua
a99aa95e61
Clean up and improve shader stage checks ( #2298 )
2023-08-24 01:00:35 +02:00
marc0246
b4c628d0af
#2287 additions
2023-08-24 00:58:39 +02:00
marc0246
535321f4a2
#2287 changelog
2023-08-24 00:45:39 +02:00
Rua
d47f45c478
Add support for image format lists ( #2287 )
...
* Add support for image format lists
* Not "additional" formats
2023-08-24 00:44:47 +02:00
Rua
b3ef5d746b
+sparse binding
2023-08-21 22:12:12 +02:00
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