Commit Graph

2926 Commits

Author SHA1 Message Date
Rua
c6959aa961
Move shader analysis to Vulkano crate, make available for runtime shaders (#1747)
* Move shader parsing and information extraction to Vulkano, make available for runtime shaders

* Small change

* Add new pipeline stages to match shader stages

* Fix review issues
2021-11-13 22:06:16 +07:00
Ilya Lakhin
eb7e0c9ce0 #1744 Changelog update 2021-11-13 17:12:01 +07:00
Rua
325ef8ee38
Check against DescriptorRequirements instead of pipeline layout at draw time (#1744) 2021-11-13 17:10:52 +07:00
Rua
0e25167eb2
Fix AutoCommandBufferBuilder documentation (#1745) 2021-11-03 18:21:40 +07:00
Ilya Lakhin
30ea9e9b2f #1739 Changelog update 2021-11-03 03:35:37 +07:00
Rua
189a589002
Arcs, Arcs everywhere (#1739)
* `Arc`s, `Arc`s everywhere

* Additional types that I forgot

* Include Arc when returning image from ImageView
2021-11-03 03:33:58 +07:00
Ilya Lakhin
f187d0b178 #1732 Changelog update 2021-10-26 23:13:47 +07:00
Rua
520d15532b
Rework DescriptorSetResources and DescriptorWrite (#1732)
* Rework `DescriptorSetResources` and `DescriptorWrite`

* Small fix

* Simplification in DescriptorWrite
2021-10-26 23:11:43 +07:00
Ilya Lakhin
f7f5e42190 #1729 Changelog update 2021-10-26 00:27:36 +07:00
Rua
5a326db546
Add DescriptorRequirements (#1729)
* Add DescriptorRequirements

* Doc fix
2021-10-26 00:16:54 +07:00
Ilya Lakhin
47b9c5b595 #1727 Changelog update 2021-10-20 21:58:11 +07:00
Rua
35fed6b577
Add basic support for khr_push_descriptor (#1727)
* Add basic support for khr_push_descriptor

* Add basic support for khr_push_descriptor

* Support arrays in `DescriptorWrite`

* Use assert when creating the builder
2021-10-20 21:56:56 +07:00
Ilya Lakhin
9aba801319 #1726 Changelog update 2021-10-20 21:13:27 +07:00
Jason Macnak
3634518e49
Add android platform to external memory cfgs (#1726) 2021-10-20 21:11:32 +07:00
Ilya Lakhin
32a007f193 #1725 Changelog update 2021-10-12 19:58:46 +07:00
Rua
1a1f8eab2b
Add RangeSet utility type, check that all push constants needed have been set (#1725)
* Add `RangeSet` utility type, check that all push constants needed have been set

* Copyright year

* Inline
2021-10-12 19:56:13 +07:00
Ilya Lakhin
59343f6306 #1724 Changelog update 2021-10-12 19:50:24 +07:00
Rua
64ca6f78e1
Lots of additional dynamic state, and some new pipeline state (#1724)
* Add extra dynamic state commands to the command buffer builders

* Add TessellationState

* Re-enable InputAssemblyState, add dynamic state, update Ash

* Rework depth_stencil module, add dynamic state

* Rename module raster > rasterization, add dynamic state

* Replace DynamicStateMode with bool, replace Option with StateMode enum for potentially dynamic states, rename Blend > ColorBlendState, add dynamic state

* Re-enable MultisampleState

* Re-enable ViewportState, add state to GraphicsPipeline with retrieval methods, add dynamic state

* Add builder methods for state types

* Color blend improvements

* Further checks on input assembly dynamic state

* Add color_write_enable

* Add topology class, check that it matches

* Add line_stipple

* Move some builder code to the individual state types

* Add discard rectangles

* Trim down GraphicsPipelineCreationError variants, order alphabetically
2021-10-12 19:42:32 +07:00
Austin Johnson
14f7ad57ac
Changelog update for 0.26 2021-10-03 09:07:34 -05:00
Austin Johnson
baef23e1f8
0.26 (#1723) 2021-10-03 08:57:22 -05:00
Austin Johnson
5e2eb4249a
Changelog entries for #1722
https://github.com/vulkano-rs/vulkano/pull/1722
2021-10-03 01:18:02 -05:00
Rua
464fc0d549
Track state in the pipeline, invalidate dynamic state when binding pipeline with fixed state (#1722)
* Track state in the pipeline, invalidate dynamic state when binding pipeline with fixed state

* Rename `Compare` to `CompareOp`, rearrange builder a little

* Nicer and more failsafe command buffer dynamic state checking
2021-10-03 01:17:05 -05:00
Austin Johnson
6b17090b4c
Changelog entries for #1721 2021-09-29 12:02:08 -05:00
Rua
885fbc6a4c
Add Send + Sync requirements to various traits (#1720)
* Remove Send + Sync and BufferAccess traits where they are redundant

* Require Send + Sync for ImageViewAbstract

* Require Send + Sync for ImageAccess, AttachmentsList and MemoryPoolAlloc

* Require Send + Sync for DescriptorSet and DescriptorPoolAlloc

* Require Send + Sync for FramebufferAbstract

* Minor rearranging

* Require Send + Sync for PrimaryCommandBuffer, SecondaryCommandBuffer and CommandPoolAlloc

* Require Send + Sync for Command (private trait)

* Cargo fmt
2021-09-29 12:00:56 -05:00
Austin Johnson
9122da1356
Changelog entries for #1718 #1719 #1721 2021-09-29 01:26:32 -05:00
Rua
ab0464830b
Group command buffer state retrieval under a new CommandBufferState (#1721) 2021-09-29 01:20:06 -05:00
Rua
17820738d8
Replace Iterator parameters with IntoIterator where possible, replace various iterator types with impl Iterator (#1719) 2021-09-29 01:15:39 -05:00
Robin Heinemann
131f5b0f0f
Add AutoCommandBufferBuilder::clear_depth_stencil_image (#1718)
Signed-off-by: Robin Ole Heinemann <robin.ole.heinemann@gmail.com>
2021-09-29 01:13:05 -05:00
Rua
5e4da07685
Limit compatibility check for bound descriptor sets to the length of the current layout (#1716)
* Limit compatibility check for bound descriptor sets to the length of the current layout

* Set new pipeline layout if it's a superset of the old one

* Preferentially use new layout if they are identical
2021-09-29 01:06:49 -05:00
Robin Heinemann
c1da957797
fix array_element accounting for add_buffer_view (#1717) 2021-09-21 17:20:38 -05:00
Rua
cb362c9221
Change inner-documentation html links to use Rust paths (#1713) 2021-09-21 05:16:27 +07:00
Ilya Lakhin
1f2044ae7a #1712 Changelog update 2021-09-21 05:15:02 +07:00
Rua
a7813baac3
Add inner method to AutoCommandBufferBuilder (#1712) 2021-09-21 05:12:07 +07:00
Austin Johnson
73aea837f4
add derive feature to serde build dependency (#1710) 2021-09-14 21:47:48 +07:00
Okko Hakola
2151a4d1ce
Remove validation layer request from fractal example (#1708)
* Add interactive fractal example

* Rename folder

* Update guide

* Remove layers & debug callback from fractal example
2021-09-14 21:45:49 +07:00
Okko Hakola
627b5289dd
Fix import warnings on mac for conditionally used imports (#1709) 2021-09-14 01:29:44 -05:00
Okko Hakola
e0839af295
Add an interactive fractal example (#1707)
* Add interactive fractal example

* Rename folder

* Update guide
2021-09-13 22:14:54 +07:00
Austin Johnson
54cb28d4e5
fix immutable_samplers index in builder (#1704) 2021-09-13 21:28:14 +07:00
Ilya Lakhin
786e02b174 #1703 Changelog update 2021-09-13 21:25:30 +07:00
Austin Johnson
dc84f31120
Additional check_copy_buffer_image checks (#1703)
* additional check_copy_buffer_image checks

* rustfmt
2021-09-13 21:23:35 +07:00
Ilya Lakhin
7b306f4952 #1702 Changelog update 2021-09-13 19:58:20 +07:00
Austin Johnson
9b9b9a4ec9
Fix variable count descriptor set allocations (#1702)
* fix variable count descriptor set allocations

* remove option
2021-09-13 19:55:55 +07:00
Ilya Lakhin
a8c8257565 #1701 Changelog update 2021-09-13 19:41:17 +07:00
Rua
8d321430cb
Add auto-generated SPIR-V parsing (#1701)
* Add auto-generated SPIR-V parsing

* Add further reflection utilities for decorations, names and members, clean up Vulkano-shaders
2021-09-13 19:39:17 +07:00
Ilya Lakhin
ce110006bc #1700 Changelog update 2021-09-13 18:26:53 +07:00
Okko Hakola
2c4eb216bb
Exportable memory as dedicated (#1700)
* Add memory export for attachment image

* Add mem_size function for attachment image

* Force exportable allocations to be dedicated

* Unify cgf os options on exportable fd related functions

* Fix import errors
2021-09-13 18:22:17 +07:00
Rua
13b7188b71
Split autogen output into multiple files (#1697) 2021-09-06 04:10:38 +07:00
Ilya Lakhin
222852f274 #1696 Changelog update 2021-09-06 04:06:34 +07:00
Rua
02acea7b10
Add support for mutable_format and block_texel_view_compatible (#1696) 2021-09-06 04:05:31 +07:00
Ilya Lakhin
51159be4ec #1695 Changelog update 2021-09-06 03:43:34 +07:00