Commit Graph

3927 Commits

Author SHA1 Message Date
marc0246
94f0f8cc80
#2369 fixes (#2371) 2023-10-25 04:01:30 -05:00
Rua
918c4f5016
Skip required_subgroup_size test if compute shaders aren't supported (#2372) 2023-10-25 04:01:11 -05:00
marc0246
9526e772e2
Error naming consistency (#2370) 2023-10-24 19:14:51 +02:00
Rua
755dcbc6e2
Release Vulkano 0.34.0 (#2367) 2023-10-24 18:54:46 +02:00
Rua
3ee8ba8483
#2369 changelog 2023-10-24 18:14:29 +02:00
marc0246
b972244b78
Lower command buffer/descriptor set allocator defaults (#2369) 2023-10-24 18:13:41 +02:00
marc0246
eba2514924
Add StandardDescriptorSetAllocatorCreateInfo::update_after_bind option (#2368) 2023-10-24 17:24:14 +02:00
Rua
62f4917dbf
#2366 changelog 2023-10-24 16:24:18 +02:00
marc0246
ac2a83b769
Add a StandardDescriptorSetAllocatorCreateInfo (#2366)
* Add `StandardDescriptorSetAllocatorCreateInfo`

* Fix tests and examples
2023-10-24 16:23:17 +02:00
Rua
9d1251e457
#2358 additions 2023-10-15 21:15:12 +02:00
marc0246
391807af58
#2358 changelog 2023-10-15 21:11:31 +02:00
Rua
00cf9eb269
Add remaining ext_descriptor_indexing flags (#2358)
* Fix the documentation for `DescriptorPool` methods

* Pool allocate validation

* Add `DescriptorPoolAlloc`, make `UnsafeDescriptorSet` more useful

* Add remaining `ext_descriptor_indexing` flags
2023-10-15 21:08:36 +02:00
marc0246
f5c441b076
#2357 changelog 2023-10-13 20:01:19 +02:00
Rua
e00751497d
Refactor some descriptor set/allocation things (#2357)
* Fix the documentation for `DescriptorPool` methods

* Pool allocate validation

* Add `DescriptorPoolAlloc`, make `UnsafeDescriptorSet` more useful
2023-10-13 20:00:01 +02:00
Rua
4bd3b81ea8
Fix incorrect docs in RenderingAttachmentInfo (#2356) 2023-10-12 12:16:38 +02:00
Rua
444c88dfca
Use separate samplers and sampled images in the examples (#2354)
* Use separate samplers and sampled images in the examples

* Update examples/src/bin/push-descriptors/main.rs

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

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-10-08 14:10:19 +02:00
Rua
518369e7f1
Add missing pointer handling to runtime reflection (#2353) 2023-10-08 09:39:09 +02:00
marc0246
6f0065b222
More #2317 docs fixes (#2352) 2023-10-08 09:06:50 +02:00
marc0246
1e7b781bad
#2350 changelog 2023-10-07 17:01:32 +02:00
Rua
dce03005c8
Add support for ext_private_data (#2350) 2023-10-07 16:59:19 +02:00
marc0246
d9bc3c136f
#2349 additions 2023-10-07 16:56:45 +02:00
marc0246
619092f558
#2349 changelog 2023-10-07 16:52:50 +02:00
Rua
6c2e8968bf
Add support for present_modes2 function (#2349) 2023-10-07 16:51:48 +02:00
marc0246
4523ff013b
#2348 changelog 2023-10-07 16:47:11 +02:00
Rua
0fed9bbc7f
Make dynamic state future-proof and more Vulkan-y (#2348)
* Make dynamic state future-proof and more Vulkan-y

* Additional fixes

* Extra docs

* Oops

* Derp!

* Review fixes
2023-10-07 16:46:03 +02:00
marc0246
5a98b0ba91
#2351 changelog 2023-10-07 15:15:07 +02:00
Rua
0175bcd2a6
Add DeviceAddress, handle pointers as SPIR-V struct members (#2351)
* Add `DeviceAddress`, handle pointers as SPIR-V struct members

* Add pointers to vulkano-shaders
2023-10-07 15:13:58 +02:00
Rua
fb828a6db2
Clippy fixes for Rust 1.73.0 (#2347)
* Clippy fixes for Rust 1.73.0

* Doc fixes too
2023-10-07 14:13:17 +02:00
marc0246
9d988440df
#2345 changelog 2023-10-03 17:33:13 +02:00
Alexander Rohde
ba4d11afa9
Allow for setting the array length in a shader using a specialization constant. (#2345) 2023-10-03 17:32:39 +02:00
Rua
d22104709f
Document SurfaceApi better (#2340)
* Document `SurfaceApi` better

* Add TryFrom<RawWindowHandle> for SurfaceApi

* Rename Qnx > QnxScreen to match the `from_qnx_screen` constructor
2023-10-01 23:10:18 +02:00
Trevor
c24c7ad155
Add len method to IndexBuffer (#2342)
* ### Additions
- `IndexBuffer::len` method.

* Fixed formatting
2023-09-28 20:12:27 +02:00
Rua
56b051c954
#2336 changelog 2023-09-28 11:06:48 +02:00
marc0246
b49476036c
Remove duplicate validation in GenericMemoryAllocator (#2336)
* Remove duplicate validation

* Merge `GenericMemoryAllocator::new[_unchecked]`

* Fix oopsie from earlier PR
2023-09-28 11:06:08 +02:00
marc0246
44732afefe
Revert "#2338 changelog"
This reverts commit 17fb48b348.
2023-09-27 16:36:54 +02:00
marc0246
17fb48b348
#2338 changelog 2023-09-27 16:33:59 +02:00
Rua
59d7c816fe
Make IndexBuffer::as_bytes public (#2338) 2023-09-27 16:32:07 +02:00
Rua
a8ca0a7f7f
Refactor some shader things and add more validation (#2335)
* Refactor some shader things and add more validation

* Remove pub
2023-09-21 12:18:31 +02:00
marc0246
e9790c1fc3
Make the insides of AllocationHandle private (#2332)
* Make the insides of `AllocationHandle` private

* Fix naming
2023-09-16 10:10:32 +02:00
Rua
06f698a6be
#2333 changelog 2023-09-15 22:24:12 +02:00
Aspen
80ab3a829e
Add interface entry for color index, check during overlap testing (#2333) 2023-09-15 22:22:55 +02:00
Rua
4d17a7392d
Fix typo in cargo:rerun-if-changed (#2331) 2023-09-14 13:22:21 +02:00
Firestar99
86f63ac9f2
small Buffer docs fixes (#2328)
* fixed Buffer::new* docs still referring to buffer_info instead of create_info

* fixed line length

---------

Co-authored-by: Firestar99 <4696087-firestar99@users.noreply.gitlab.com>
2023-09-14 13:22:10 +02:00
marc0246
f0a6ce1435
#2329 changelog 2023-09-14 13:20:37 +02:00
Rua
3c49541bc3
Apply specialization to shader reflection (#2329)
* Apply specialization to shader reflection

* Remove redundant method

* Remove all the SpecId decorations too

* Don't unnecessarily collect the instructions

* Replace decoration groups with individual decorations

* Rename with_specialization

* Missed renames

* Remove the Arcs
2023-09-14 13:19:25 +02:00
marc0246
56e78d9b3c
Fix missing overflow check when constructing suballocators (#2322)
* Fix missing overflow check when constructing suballocators

* Add tests, fix borked code

* Make `Region`'s fields private

* Fix docs

* Borked the merge
2023-09-14 12:02:29 +02:00
Rua
957111658b
#2319 changelog 2023-09-13 16:18:45 +02:00
marc0246
aecb7a476a
Make GenericMemoryAllocatorCreateInfo::block_sizes more flexible (#2319) 2023-09-13 16:17:54 +02:00
marc0246
28224138f2
Fix suballocator cleanup (#2323)
* Fix suballocator cleanup

* impl `Debug` for `dyn Suballocator`
2023-09-13 15:10:36 +02:00
marc0246
771aa30bbe
Fix Miri warnings when running the suballocator tests (#2330) 2023-09-13 09:30:12 +02:00