dolphin/Source/Core/VideoBackends
Jonathan Marek a20e69ff51
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>
2020-11-20 12:23:34 +01:00
..
D3D D3D: Migrate logging over to fmt 2020-11-09 03:02:00 -05:00
D3D12 D3D12: Migrate logging over to fmt 2020-11-09 02:59:51 -05:00
D3DCommon D3DCommon: Migrate logging over to fmt 2020-11-09 03:03:26 -05:00
Null Make default graphics backend not show up as empty 2020-09-06 12:56:45 +02:00
OGL OpenGL: Migrate logging over to fmt 2020-11-09 03:09:09 -05:00
Software Software: Migrate logging over to fmt 2020-11-09 03:14:01 -05:00
Vulkan Vulkan: fix validation error in bSupportsGeometryShaders=false case 2020-11-20 12:23:34 +01:00
CMakeLists.txt CMake: Add option to enable/disable Vulkan video backend 2020-10-23 20:14:46 +02:00