Commit Graph

3293 Commits

Author SHA1 Message Date
Ilya Lakhin
148dc78def #1661 Changelog update 2021-08-12 21:15:47 +07:00
Rua
3da6c298a8
Add vertex and instance parameters to draw commands (#1661)
* Add vertex and instance parameters to draw commands

* Remove BufferlessDefinition
2021-08-12 21:14:02 +07:00
Ilya Lakhin
a6dc452605 Release 0.25.0 2021-08-10 02:36:42 +07:00
Ilya Lakhin
9a146b5b96 #1663 Changelog update 2021-08-09 23:59:58 +07:00
Will Song
1edfb860bc
make Features::all and Features::none const fn (#1663) 2021-08-09 23:58:46 +07:00
Ilya Lakhin
80f8cbcb40 #1662 Changelog update 2021-08-09 23:25:50 +07:00
Rua
199be09d9b
More sensible representation of stencil faces (#1662) 2021-08-09 23:24:43 +07:00
Ilya Lakhin
fa2b29461b #1660 Changelog update 2021-08-09 22:55:31 +07:00
Will Song
82c7d733ac
improve the debug interface a bit and update the error message (#1660) 2021-08-09 22:54:12 +07:00
Ilya Lakhin
0fef356710 #1659 Changelog update 2021-08-09 22:24:38 +07:00
Will Song
4f4580e749
update push constant ranges to match the spec. overlapping ranges are OK but intersecting stage flags are not (#1659)
* update push constant ranges to match the spec. overlapping ranges are OK but intersecting stage flags are not

* add a check for push constant ranges
2021-08-09 22:19:54 +07:00
Ilya Lakhin
7290af6c42 #1658 Changelog update 2021-08-09 22:00:48 +07:00
Rua
4889f880e4
Use DeviceSize for on-device sizes, offsets etc. (#1658) 2021-08-09 21:59:05 +07:00
Ilya Lakhin
3bf8464dfd #1654 Changelog update 2021-08-09 20:48:27 +07:00
Will Song
0bf8c86eea
add some logic for known properties (#1654)
* add some logic for known properties

* update examples

* fix tests

* fix indentation
2021-08-09 20:44:58 +07:00
Ilya Lakhin
00b6340715 #1656 Changelog update 2021-08-01 22:48:35 +07:00
Victor
b7f61df072
Add support for EXTENDED_SRGB_NONLINEAR_EXT color space (#1656)
* Add `ExtendedSrgbNonLinear` color space

* Cargo fmt
2021-08-01 22:47:19 +07:00
Ilya Lakhin
e82c76ad33 #1653 Changelog update 2021-08-01 21:40:15 +07:00
Rua
016942f0aa
Update ash and other dependencies (#1653) 2021-08-01 21:39:04 +07:00
Austin Johnson
8167ffb97c
#1650 Changelog Update 2021-07-29 04:13:15 -05:00
Rua
68a4fd887b
Pipeline barriers are placed according to draw/dispatch calls rather than binding calls (#1650)
* Add methods to query binding state to SyncCommandBufferBuilder

* Remove FinalCommand

* Change Iterator > IntoIterator on CB builders, change Box<Command> to Arc

* Store BindingState commands as Arcs

* Declare resources from dispatch/draw commands instead of bind commands
2021-07-29 04:12:07 -05:00
Austin Johnson
6c104456f9
#1648 #1651 Changelog Update
Breaking change from #1648 was not documented.
2021-07-29 01:06:28 -05:00
Rua
6b38cad92b
Check binding numbers against limit (#1651) 2021-07-29 01:04:27 -05:00
Austin Johnson
2709279145
#1647 Changelog Update 2021-07-28 03:54:32 -05:00
Robin Heinemann
f331bf9c77
Add 8bit uniform and storage support (#1647) 2021-07-28 03:53:56 -05:00
Austin Johnson
414c77fd0d
#1648 Changelog Update 2021-07-28 03:52:21 -05:00
Rua
28aaa02cae
Add VertexInput type (#1648)
* Add VertexInput, make VertexDefinition return it

* Add VertexInput to GraphicsPipeline
2021-07-28 03:50:52 -05:00
Austin Johnson
a925ec9e3b #1642 Changelog Update 2021-07-26 00:26:32 -05:00
Rua
7bc7d4ddac
Fix storage buffer detection to work for all SPIR-V versions (#1642) 2021-07-26 00:23:57 -05:00
Ilya Lakhin
ebecb830b8 #1641 Changelog update 2021-07-21 00:07:33 +07:00
Rua
0ad56aaeda
Add DescriptorSetWithOffsets type (#1641)
* Add DescriptorSetWithOffsets, remove the dynamic_offsets parameters on AutoCommandBufferBuilder

* Modify StateCacher, add checking to DescriptorSetWithOffsets constructor

* Add DescriptorSetWithOffsets to SyncCommandBufferBuilder
2021-07-21 00:06:22 +07:00
Ilya Lakhin
2ef4e57ee5 #1639 Changelog update 2021-07-20 23:14:24 +07:00
Rua
25b70b3205
Change how resource conflicts are handled in SyncCommandBufferBuilder (#1639)
* Remove conflicts_buffer and conflicts_image trait methods

* Add ResourceKey to SyncCommandBuffer, remove mutexes and Arcs

* Add From for ResourceKey

* Rename base.rs to builder.rs, move things related to the final CB to mod.rs

* Make commands.rs a submodule of builder.rs
2021-07-20 23:10:24 +07:00
Ilya Lakhin
f5a1758459 #1638 Changelog update 2021-07-13 01:50:44 +07:00
Rua
58a9a0b004
Add PipelineBindPoint (#1638) 2021-07-13 01:49:40 +07:00
Ilya Lakhin
ff69042a76 #1634 Changelog update 2021-07-13 01:42:31 +07:00
prataprc
fd8291cccf
Derive Clone for LayerProperties (#1634) 2021-07-13 01:41:15 +07:00
Ilya Lakhin
9d25960d40 #1631 Changelog update 2021-07-13 01:36:46 +07:00
Tatsuyuki Ishi
823a312cbb
Use dedicated allocation when allocation size is large enough (#1631)
* Update dedicated_allocation to include Vulkan 1.1

* Fix DeviceMemoryBuilder::dedicated_info's behavior when dedicated allocation is unsupported

* Use dedicated allocation when allocation size is large enough
2021-07-13 01:35:04 +07:00
Ilya Lakhin
965c9f1524 #1629 Changelog update 2021-07-05 11:40:47 +07:00
Rua
1771714bc4
Descriptor set/pipeline layout refactoring (#1629)
* Remove DescriptorSetDesc trait, add layout method to DescriptorSet

* Add struct DescriptorSetDesc, forward PipelineLayoutDesc to it, rename is_superset_of to ensure_superset_of, union doesn't take self

* DescriptorSetLayout takes DescriptorSetDesc in constructor

* PipelineLayout takes DescriptorSetLayout in constructor

* EntryPointAbstract takes/returns descriptor set descs and push constant descs separately

* Remove PipelineLayoutDesc

* Remove PipelineLayout::descriptor_set_layout

* Minor changes

* Small additions
2021-07-05 11:35:38 +07:00
Ilya Lakhin
207999c6de #1619 Changelog update 2021-07-05 11:21:06 +07:00
Rua
0eebf0c4f4
Rework VertexDefinition trait, add BuffersDefinition, support instance rate divisors (#1619)
* Rework VertexDefinition trait, add BuffersDefinition

* Add support for instance rate divisors
2021-07-05 11:19:32 +07:00
Ilya Lakhin
3850a923f9
Update about vk-sys in Readme 2021-06-28 16:30:30 +07:00
Ilya Lakhin
fb08f81b6d VkSys version bump to resolve breaking changes conflict 2021-06-28 16:13:29 +07:00
Ilya Lakhin
1554a75a2f #1625 Changelog update 2021-06-28 16:09:13 +07:00
Rua
aee11063d4
Rename Features::superset_of to is_superset_of, add is_superset_of to extensions (#1625) 2021-06-28 16:07:54 +07:00
Ilya Lakhin
9b667128d7 #1624 Changelog update 2021-06-28 15:58:32 +07:00
Rua
d5fd3d3f0b
Convert Vulkano-shaders to use spirv_headers crate (#1624)
* Convert Vulkano-shaders to use spirv_headers crate

* Fix issue after merge
2021-06-28 15:57:30 +07:00
Ilya Lakhin
5ec3e0d12f #1622 Changelog update 2021-06-28 15:29:44 +07:00