summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
authorJonathan Marek <jonathan@marek.ca>2020-10-04 18:09:30 -0400
committerLéo Lam <leo@leolam.fr>2020-11-20 12:23:34 +0100
commita20e69ff5173ee171b57bcc4dce071cef4459512 (patch)
tree57170a99702091bd2b8881fe603a3323ca3515ee /Source/Core/VideoCommon/CommandProcessor.cpp
parentc580a70a1245945a47df14b28c7b8741646fddc7 (diff)
Vulkan: fix validation error in bSupportsGeometryShaders=false case
In CreateDescriptorSetLayouts(), one less dynamic binding is created when bSupportsGeometryShaders=false. Reduce the dynamicOffsetCount argument by one in that case. Avoids this validation error: Attempting to bind 3 descriptorSets with 2 dynamic descriptors, but dynamicOffsetCount is 3. It should exactly match the number of dynamic descriptors. The Vulkan spec states: dynamicOffsetCount must be equal to the total number of dynamic descriptors in pDescriptorSets Signed-off-by: Jonathan Marek <jonathan@marek.ca> [Applied clang-format] Signed-off-by: Léo Lam <leo@leolam.fr>
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
0 files changed, 0 insertions, 0 deletions