Commit Graph

3766 Commits

Author SHA1 Message Date
marc0246
63a53f1b93
Descriptor set revamp (#2404)
* Descriptor set revamp

* Fix tests

* Fix examples

* Add `DescriptorSet::update_unchecked`

* Fix docs

* Add `Debug` impls

* Add `DescriptorSet::update_by_ref[_unchecked]`

* Rename `UnsafeDescriptorSet` to `RawDescriptorSet`

* Fix outdated docs for `DescriptorPool`
2023-11-12 17:17:37 +01:00
Rua
6b951709e5
#2400 changelog 2023-11-12 15:11:12 +01:00
marc0246
bbd1de36ef
Descriptor set allocator API 2.0 (#2400)
* Make `DescriptorSetAllocator` object-safe, remove the generics

* Fix tests

* Fix examples

* Fix docs

* Avoid panics in `deallocate`

* Typo

* Clarify docs

* Clarify safety preconditions of `allocate`

* Remove unnecessary `Arc` clone

* Tidy up a little

* Debug assert
2023-11-12 15:10:22 +01:00
marc0246
d637450887
#2402 changelog 2023-11-11 22:57:14 +01:00
Rua
df302d8f7b
Fix #2398 (#2402) 2023-11-11 22:49:49 +01:00
marc0246
34736a675a
Remove license notices from source files (#2401)
* Remove license notices from source files

* Add license notices for rangemap
2023-11-08 13:49:49 +01:00
Rua
c9f3d69fc0
#2399 changelog 2023-11-07 21:55:24 +01:00
charles-r-earp
f2c68d71c8
Allow spec constant convert ops. (#2399) 2023-11-07 21:54:48 +01:00
charles-r-earp
87781d389e
Add krnl to projects using vulkano. (#2395) 2023-11-07 02:48:57 -06:00
marc0246
a832bc3d51
Improve readme formatting 2023-11-05 13:01:48 +01:00
marc0246
8bb811940a
Prevent examples from being tested/benchmarked/documented (#2396) 2023-11-05 11:24:21 +01:00
Rua
3fcc5f7f2d
Fix ordering mistake 2023-11-02 16:26:52 +01:00
Rua
71bc3f1f7b
#2380 additions 2023-11-02 16:26:11 +01:00
marc0246
3afa8d48f8
Update proc-macro-crate (#2394) 2023-11-01 20:59:57 +01:00
marc0246
6a8a75d6be
#2392 changelog 2023-11-01 17:21:15 +01:00
Rua
14005458a1
Fix flipped assert condition in pipeline layout (#2392) 2023-11-01 17:20:40 +01:00
marc0246
4e79d5dcc6
Remove useless cyclic dependency (#2387)
* Remove useless cyclic dependency

* Move the call to `crate_ident` outside of the derive functions
2023-10-31 19:17:47 +01:00
marc0246
af57608ac5
Unify workspaces (#2391) 2023-10-31 19:15:03 +01:00
Rua
a1e376d932
#2385 changelog 2023-10-31 18:48:12 +01:00
marc0246
4a77d39b85
Update dependencies (#2385)
* Update winit

* Update raw-window-handle

* Update syn

* Remove vulkano-win from the workspace
2023-10-31 18:47:17 +01:00
marc0246
3664c079f7
Remove superfluous dev-dependencies (#2389) 2023-10-31 10:44:46 +01:00
marc0246
0978b296a4
Avoid double-compilation of our packages in CI (#2388) 2023-10-31 10:44:20 +01:00
marc0246
1e9128795f
Workspace dependencies (#2381)
* Use workspace dependencies

* Update CI workflow to account for the two workspaces

* Make the tables in the root workspace a bit nicer to look at

* Use workspace package version

* Remove workspace package version

* Make winit a workspace dependency as well
2023-10-29 22:42:00 -05:00
marc0246
9f47346263
Remove prehistoric CI configs 2023-10-30 01:05:28 +01:00
Austin Johnson
79591acf3d
Move changelog entries related to 0.34.1 2023-10-29 19:00:52 -05:00
marc0246
448a06979a
#2382 changelog 2023-10-30 00:32:57 +01:00
marc0246
c560d765f0
Fix vulkano-util depending on vulkano-win (#2382) 2023-10-29 18:28:56 -05:00
marc0246
80ca8a051b
#2379 changelog 2023-10-30 00:16:39 +01:00
marc0246
61eb23d5af
#2380 changelog 2023-10-29 21:58:39 +01:00
Rua
f6cb0bb184
Add timeline semaphores (#2380)
* Add timeline semaphores

* Remove leftover comment

* Doc typo
2023-10-29 21:58:02 +01:00
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