diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2019-06-11 11:00:28 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2019-06-11 16:32:27 +0200 |
commit | 32e1d85cb69933bca768da550ffe73cb64d547ec (patch) | |
tree | eb5d7e68a67fe50b9d289fe98297cc94c04cd4b8 /docs/relnotes/19.1.0.html | |
parent | d0c52ff610421e8b27d534968d1b1d8c03c73da9 (diff) |
radv: assert on inline uniform blocks in radv_CmdPushDescriptorSetKHR()
According to the Vulkan spec, inline uniform blocks are not allowed
to be updated through vkCmdPushDescriptorSetKHR().
These are the spec quotes from "13.2.1. Descriptor Set Layout"
that are relevant for this case:
"VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR specifies
that descriptor sets must not be allocated using this layout, and
descriptors are instead pushed by vkCmdPushDescriptorSetKHR."
"If flags contains
VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR, then all
elements of pBindings must not have a descriptorType of
VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT".
There is no explicit mention in vkCmdPushDescriptorSetKHR() to forbid
this case but it is implied in the creation of the descriptor set
layout as aforementioned.
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'docs/relnotes/19.1.0.html')
0 files changed, 0 insertions, 0 deletions