marc0246
081d9c2d4e
#2316 docs fixes ( #2320 )
2023-09-09 18:00:22 +02:00
marc0246
1c2371cac4
#2317 docs fixes ( #2325 )
2023-09-09 18:00:10 +02:00
Austin Johnson
b4f4089ad3
#2317 Changelog
2023-09-07 02:40:02 -05:00
marc0246
c93d71e064
Make the suballocators !Sync
( #2317 )
2023-09-07 02:39:47 -05:00
Rua
64ea44c25e
#2316 changelog
2023-09-03 13:09:49 +02:00
marc0246
5578bf30da
Memory (sub)allocation API 2.0 ( #2316 )
...
* Excommunicate `PoolAllocator`
* Switch to manual deallocation
* Move `ResourceMemory` away from the `suballocator` module
* Remove `SuballocatorError::BlockSizeExceeded`
* Fix examples
* Fix atom size
* Address safety TODOs
* Nice English you got there bro
2023-09-03 13:09:07 +02:00
Rua
fe7b2371a9
Update spirv grammar JSON file ( #2315 )
2023-09-01 21:53:22 +02:00
Rua
e1acf31a2e
Add missing division for bits-to-bytes conversions ( #2313 )
2023-08-26 23:00:51 +02:00
marc0246
4ee8aa5f1a
Remove uses of Option::unwrap_unchecked
as a safety precaution ( #2310 )
2023-08-26 17:13:40 +02:00
Rua
04d22e8052
#2311 changelog
2023-08-26 17:13:30 +02:00
marc0246
e1daac6690
Add configuration for custom memory_type_bits
masks ( #2311 )
2023-08-26 17:12:54 +02:00
marc0246
c74eedbdf4
#2307 fixes ( #2309 )
2023-08-26 12:07:27 +02:00
Rua
c8712dcecc
Wrap buffer values in AccelerationStructureBuildGeometryInfo
in an Option
( #2307 )
...
* Wrap buffer values in `AccelerationStructureBuildGeometryInfo` in an `Option`
* Oops!
* Also wrap `mode` and `dst_acceleration_structure`
* Un-wrap mode
2023-08-26 11:53:37 +02:00
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