Commit Graph

2833 Commits

Author SHA1 Message Date
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
Rua
d5bcffa902
Rearrange descriptor set modules and types (#1622)
* Move descriptor_set.rs to parent, make descriptor.rs its child

* Rename UnsafeDescriptorSetLayout to DescriptorSetLayout, as there isn't actually anything unsafe about it

* Make fixed_size_pool and persistent modules public, reduce number of re-exports from there

* Split off pool.rs from sys.rs

* Move std_pool module to pool::standard

* Make sys public, remove re-exports

* Move descriptor module and DescriptorSetDesc into layout module

* Move ShaderStages to pipeline::shader

* Make descriptor_set::collection module private

* Documentation
2021-06-28 15:28:09 +07:00
Ilya Lakhin
b12414f892 #1617 Changelog update 2021-06-28 15:05:51 +07:00
Rua
e5bd8807e4
Move instance/physical_device.rs to device/physical.rs, rewrite and refactor some parts of it (#1617)
* Move instance/physical_device.rs to device/physical.rs, rewrite some of it

* Deprecate supported_by_device_raw as well
2021-06-28 15:04:28 +07:00
Ilya Lakhin
80bb82e487 #1623 Changelog update 2021-06-28 14:52:52 +07:00
Rua
fd546e464c
Include image format on descriptor, if provided by shader (#1623) 2021-06-28 14:51:59 +07:00
Ilya Lakhin
5b7ebeea0a #1620 Changelog update 2021-06-28 14:44:11 +07:00
kdelamo94
fafb3eb72f
(#1618): Add DisplayNativeAmd enum variant to ColorSpaceEnum (#1620)
* (#1618): Add DisplayNativeAmd enum variant to ColorSpaceEnum
  - Fixed issue where GPUs that support
    VK_COLOR_SPACE_DISPLAY_NATIVE_AMD in its surface format colorspaces would cause
    vulkano to Panic when checking the surface capabilities of the device.

* (#1618): Remove AMD Vendor suffix from DisplayNative Enum
2021-06-28 14:41:15 +07:00
Ilya Lakhin
a426c3d3fd #1606 Changelog update 2021-06-28 14:33:19 +07:00
Francisco Ayala Le Brun
698d457235
Add support for semaphore file descriptor export (#1606)
* Add external semaphore device extensions & function

* Add semaphore export functionality

* Fix test failing due to missing extensions

* Add semaphore module

* Add builder pattern for semaphore

* Add check for supported extensions before running test

* Add missing file

* Fix use with super instead of crate

* Fix pool semaphore built incorrectly; Fix semaphore types export

* Add pool parameter as semaphore builder function

* Fix test not checking instance extensions
2021-06-28 14:30:06 +07:00
Ilya Lakhin
e3e210f968 #1615 Changelog update 2021-06-28 13:32:59 +07:00