Commit Graph

3742 Commits

Author SHA1 Message Date
Rua
1f99160067
#2422 changelog 2023-12-10 19:43:51 +01:00
marc0246
1b0903d378
Allow executing raw secondary command buffers (#2422) 2023-12-10 19:43:19 +01:00
Rua
dd2918f12e
#2421 changelog 2023-12-09 12:27:14 +01:00
marc0246
cee21d3f05
Rename command buffer types (#2421)
* Rename `UnsafeCommandBuffer[Builder]`

* Rename `AutoCommandBufferBuilder`

* `finish` -> `end`

* Clarify docs

* `CommandRecorder` -> `RecordingCommandBuffer`
2023-12-09 12:24:52 +01:00
marc0246
323aa140d5
#2420 changelog 2023-12-07 18:14:03 +01:00
Rua
fa15e53820
Validate the fragment output against color blend state (#2420)
* Validate the fragment output against color blend state

* Remove old methods from render/subpass that are no longer needed

* Better fix

* Update vulkano/src/macros.rs

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

* Update vulkano/src/pipeline/graphics/mod.rs

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

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-12-07 18:13:08 +01:00
Rua
f1a03abc7a
#2419 changelog 2023-12-06 17:24:12 +01:00
marc0246
4cd3b74f14
Remove the command buffer traits (#2419)
* Remove command buffer traits

* Fix docs

* Fix examples
2023-12-06 17:23:24 +01:00
marc0246
3fe821a754
#2418 changelog 2023-12-01 22:50:10 +01:00
Rua
c70876b3b9
Properly validate shader interfaces between stages (#2418)
* Properly validate shader interfaces between stages

* Update vulkano/src/pipeline/shader.rs

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

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-12-01 22:49:33 +01:00
marc0246
5c98e5290a
#2417 changelog 2023-12-01 18:11:02 +01:00
Rua
80e4afe073
Improve validation for vertex input, add dynamic state (#2417) 2023-12-01 18:10:13 +01:00
Rua
a17d8f5cb5
Some shader parse refactoring and additions (#2414) 2023-12-01 13:16:21 +01:00
Rua
795f02217a
Fix bug introduced by #2410 (#2411)
* Fix bug introduced by #2410

* Doc fix
2023-11-17 17:14:33 +01:00
marc0246
144d025d2d
#2410 changelog 2023-11-17 16:21:56 +01:00
Rua
9553b77bd9
Fix validation for surface_capabilities regarding full-screen exclusive (#2410) 2023-11-17 16:21:20 +01:00
ilyas taouaou
e68eddd5f1
Add vulkano macros feature to examples that needs it (#2408)
* Add vulkano macros feature to example that needs it

* Add Buffer::pair_from_iter to make it one step easier for staging data to the device

* Revert "Add Buffer::pair_from_iter to make it one step easier for staging data to the device"

This reverts commit a30b5c0925.
2023-11-16 17:07:28 +01:00
Rua
61c1168084
Remove Vulkano 0.31 deprecated items (#2407)
* Remove Vulkano 0.31 deprecated items

* Doctest fix
2023-11-15 19:08:25 +01:00
marc0246
7d1c606b10
Formatting 2023-11-15 18:08:43 +01:00
marc0246
eb623d73a5
#2406 changelog 2023-11-15 18:08:07 +01:00
Rua
b5b8ea828a
Use concrete types from Ash for foreign handles (#2406)
* Use concrete types from Ash for foreign handles

* Fixes

* Update vulkano/src/swapchain/mod.rs

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

* Foxes

* Get CI to build vulkano-win

* Weirdness

* Faxes

* F*xes

* Re-disable vulkano-win

---------

Co-authored-by: marc0246 <40955683+marc0246@users.noreply.github.com>
2023-11-15 18:07:20 +01:00
Rua
3749e17233
#2405 changelog 2023-11-15 16:19:17 +01:00
charles-r-earp
84c6dbe18b
Fix #2398 Reflect push constant requirements by variable usage. (#2405)
* Reflect push constants by variable usage.

* Added shader::reflect::tests::push_constant_range.

* Reflect using interface with spirv_1_4.

* Fix spirv version.
2023-11-15 16:18:21 +01:00
Rua
6e07c01478
#2403 changelog 2023-11-14 17:58:47 +01:00
marc0246
43e2db0dbd
Command buffer allocator API 2.0 (#2403)
* Make `CommandBufferAllocator` object-safe, remove the generics

* Fix tests

* Fix examples

* Remove the panic

* Remove outdated docs

* Document `Send + Sync` impl of `UnsafeCommandBuffer`
2023-11-14 17:57:43 +01:00
Rua
4d56fc38de
#2404 changelog 2023-11-12 17:18:58 +01:00
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