Commit Graph

3936 Commits

Author SHA1 Message Date
marc0246
1964ae7922
Fix Cargo manifests (#2377)
* Fix Cargo manifests

* Oopsie
2023-10-29 18:54:11 +01:00
marc0246
4c515a81cb
Improve the examples' directory structure (#2375)
* Make each example its own workspace member

* Fix runtime-shader example

* Fix shader-include example

* Fix teapot example

* Fix `run_all.sh`

* Fix output files getting saved in cwd

* Fix spelling for examples readme filename

* Remove wrong leftover dependencies for gl-interop

* Fix pipeline-cache example

* Clearer .gitignore

* Help cargo be less useless
2023-10-29 18:46:14 +01:00
marc0246
1e0a4d5300
Fix multiplication overflow in StandardDescriptorSetAllocator (#2379) 2023-10-29 18:05:41 +01:00
marc0246
77468ebab0
Fix licenses (#2378) 2023-10-29 18:05:10 +01:00
marc0246
b288b786cb
#2373 changelog 2023-10-29 01:41:30 +02:00
Rua
def21843fc
Partial validation of queue commands (#2373)
* Move resource tracking/locking back from Queue to futures

* Add partially validated `submit` command

* Add partially validated `present` command

* More safety docs

* Small doc change

* Add SemaphorePresentInfo

* Put safety docs in the semaphore/fence modules instead

* More fence and semaphore docs

* Re-add missing imports

* Remove state tracking from Fence

* Remove state tracking from Semaphore
2023-10-29 01:40:28 +02:00
Rua
151e5c49cb
Refactor some swapchain operations (#2361)
* Refactor some swapchain operations

* Better locking for is_retired

* Oops

* Update vulkano/src/swapchain/acquire_present.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>

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-10-26 13:05:51 +02:00
Rua
424753d543
Eh... 2023-10-25 11:11:38 +02:00
Rua
fa5d1272b2
Minimise amount of code behind conditional compilation (#2362)
* Minimise amount of code behind conditional compilation

* An additional case

* Copy paste derp

* Fix unreachable warnings

* Typo

* Let's hope this works...
2023-10-25 04:09:18 -05:00
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