mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-23 06:57:08 +00:00
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> |
||
|---|---|---|
| .. | ||
| BoundingBox.cpp | ||
| BoundingBox.h | ||
| CMakeLists.txt | ||
| CommandBufferManager.cpp | ||
| CommandBufferManager.h | ||
| Constants.h | ||
| main.cpp | ||
| ObjectCache.cpp | ||
| ObjectCache.h | ||
| PerfQuery.cpp | ||
| PerfQuery.h | ||
| Renderer.cpp | ||
| Renderer.h | ||
| ShaderCompiler.cpp | ||
| ShaderCompiler.h | ||
| StagingBuffer.cpp | ||
| StagingBuffer.h | ||
| StateTracker.cpp | ||
| StateTracker.h | ||
| StreamBuffer.cpp | ||
| StreamBuffer.h | ||
| SwapChain.cpp | ||
| SwapChain.h | ||
| VertexFormat.cpp | ||
| VertexFormat.h | ||
| VertexManager.cpp | ||
| VertexManager.h | ||
| VideoBackend.h | ||
| VKPipeline.cpp | ||
| VKPipeline.h | ||
| VKShader.cpp | ||
| VKShader.h | ||
| VKTexture.cpp | ||
| VKTexture.h | ||
| Vulkan.vcxproj | ||
| VulkanContext.cpp | ||
| VulkanContext.h | ||
| VulkanEntryPoints.inl | ||
| VulkanLoader.cpp | ||
| VulkanLoader.h | ||