dolphin/Source/Core/VideoBackends/Vulkan
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
..
BoundingBox.cpp Vulkan: Migrate logging over to fmt 2020-11-09 03:26:16 -05:00
BoundingBox.h
CMakeLists.txt Externals: Fix build failures with the newer glslang. 2020-05-30 18:54:21 -07:00
CommandBufferManager.cpp name some threads 2020-08-22 17:22:07 -07:00
CommandBufferManager.h Vulkan: Exclusive fullscreen support via VK_EXT_full_screen_exclusive 2019-10-31 22:45:59 +10:00
Constants.h
main.cpp Vulkan: Migrate logging over to fmt 2020-11-09 03:26:16 -05:00
ObjectCache.cpp Vulkan: Migrate logging over to fmt 2020-11-09 03:26:16 -05:00
ObjectCache.h
PerfQuery.cpp
PerfQuery.h
Renderer.cpp Vulkan: Migrate logging over to fmt 2020-11-09 03:26:16 -05:00
Renderer.h Vulkan: Exclusive fullscreen support via VK_EXT_full_screen_exclusive 2019-10-31 22:45:59 +10:00
ShaderCompiler.cpp Vulkan: Migrate logging over to fmt 2020-11-09 03:26:16 -05:00
ShaderCompiler.h
StagingBuffer.cpp
StagingBuffer.h
StateTracker.cpp Vulkan: fix validation error in bSupportsGeometryShaders=false case 2020-11-20 12:23:34 +01:00
StateTracker.h
StreamBuffer.cpp Use pre-increment for iterators instead of post-increment. 2019-12-29 23:45:02 -05:00
StreamBuffer.h
SwapChain.cpp Vulkan: Migrate logging over to fmt 2020-11-09 03:26:16 -05:00
SwapChain.h Vulkan: Exclusive fullscreen support via VK_EXT_full_screen_exclusive 2019-10-31 22:45:59 +10:00
VertexFormat.cpp
VertexFormat.h
VertexManager.cpp Vulkan: Migrate logging over to fmt 2020-11-09 03:26:16 -05:00
VertexManager.h
VideoBackend.h Make default graphics backend not show up as empty 2020-09-06 12:56:45 +02:00
VKPipeline.cpp
VKPipeline.h
VKShader.cpp
VKShader.h
VKTexture.cpp Vulkan: Migrate logging over to fmt 2020-11-09 03:26:16 -05:00
VKTexture.h Resolve VkDeviceMemory/nullptr type mismatch to fix build on FreeBSD i386 2020-11-03 07:47:43 +01:00
Vulkan.vcxproj msbuild: re-enable standalone vcxproj processing 2020-08-22 16:17:50 -07:00
VulkanContext.cpp Vulkan: Migrate logging over to fmt 2020-11-09 03:26:16 -05:00
VulkanContext.h Vulkan: Exclusive fullscreen support via VK_EXT_full_screen_exclusive 2019-10-31 22:45:59 +10:00
VulkanEntryPoints.inl Vulkan: Switch from vkCreateMacOSSurfaceMVK() to vkCreateMetalSurfaceEXT() 2020-04-07 18:56:55 +10:00
VulkanLoader.cpp Vulkan: Migrate logging over to fmt 2020-11-09 03:26:16 -05:00
VulkanLoader.h windows: fix build if pch were to be disabled 2020-08-22 16:18:24 -07:00