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 Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
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 Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
ObjectCache.cpp Vulkan: Migrate logging over to fmt 2020-11-09 03:26:16 -05:00
ObjectCache.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
PerfQuery.cpp VideoCommon: Remove unused MathUtil.h include from VideoCommon.h 2019-07-16 20:54:34 -04:00
PerfQuery.h Vulkan: Simplify perf queries using vkGetQueryPoolResults 2019-03-29 20:54:44 +10:00
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 VideoBackends/Vulkan: Use nested namespace specifiers where applicable 2019-06-17 16:57:30 -04:00
StagingBuffer.cpp Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
StagingBuffer.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
StateTracker.cpp Vulkan: fix validation error in bSupportsGeometryShaders=false case 2020-11-20 12:23:34 +01:00
StateTracker.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
StreamBuffer.cpp Use pre-increment for iterators instead of post-increment. 2019-12-29 23:45:02 -05:00
StreamBuffer.h Vulkan: Simplify command buffer fence tracking 2019-03-29 20:54:44 +10:00
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
VKPipeline.cpp Common/CommonFuncs: Remove now-unneccessary ArraySize function 2019-06-01 10:07:57 -04:00
VKPipeline.h VKPipeline: Fix render pass and add pipeline layout fields 2018-03-10 15:56:13 +10:00
VKShader.cpp VideoVulkan/ShaderCompiler: Use a std::optional instead of bool+out variable 2019-05-30 04:16:17 -04:00
VKShader.h VideoCommon/RenderBase: Use a std::string_view with CreateShaderFromSource() 2019-05-30 03:29:35 -04:00
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
VertexFormat.cpp Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
VertexFormat.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
VertexManager.cpp Vulkan: Migrate logging over to fmt 2020-11-09 03:26:16 -05:00
VertexManager.h Move most backend functionality to VideoCommon 2019-02-19 16:57:54 +10:00
VideoBackend.h Make default graphics backend not show up as empty 2020-09-06 12:56:45 +02: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
main.cpp Vulkan: Migrate logging over to fmt 2020-11-09 03:26:16 -05:00