From 8f97a2490488a8d55f8d306e302d7821fa1d4c18 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 4 Dec 2016 20:53:49 +1000 Subject: [PATCH] Vulkan: Enable GS instancing --- Source/Core/VideoBackends/Vulkan/VulkanContext.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp index c10243af73..e3fe3ff799 100644 --- a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp +++ b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp @@ -268,10 +268,10 @@ void VulkanContext::PopulateBackendInfoFeatures(VideoConfig* config, VkPhysicalD // Disable geometry shader when shaderTessellationAndGeometryPointSize is not supported. // Seems this is needed for gl_Layer. if (!features.shaderTessellationAndGeometryPointSize) + { config->backend_info.bSupportsGeometryShaders = VK_FALSE; - - // TODO: Investigate if there's a feature we can enable for GS instancing. - config->backend_info.bSupportsGSInstancing = VK_FALSE; + config->backend_info.bSupportsGSInstancing = VK_FALSE; + } // Depth clamping implies shaderClipDistance and depthClamp config->backend_info.bSupportsDepthClamp =