summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2016-12-04 20:53:49 +1000
committerStenzek <stenzek@gmail.com>2016-12-04 20:53:49 +1000
commit8f97a2490488a8d55f8d306e302d7821fa1d4c18 (patch)
treea2f360c94afded4abeb33b9300b615bcdcbf98c0 /Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
parent4e9018049ddefff9d83eacd2a05579e82aeff36f (diff)
Vulkan: Enable GS instancing
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/VulkanContext.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/VulkanContext.cpp6
1 files 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 =