Vulkan: Enable GS instancing
This commit is contained in:
parent
4e9018049d
commit
8f97a24904
|
@ -268,10 +268,10 @@ void VulkanContext::PopulateBackendInfoFeatures(VideoConfig* config, VkPhysicalD
|
||||||
// Disable geometry shader when shaderTessellationAndGeometryPointSize is not supported.
|
// Disable geometry shader when shaderTessellationAndGeometryPointSize is not supported.
|
||||||
// Seems this is needed for gl_Layer.
|
// Seems this is needed for gl_Layer.
|
||||||
if (!features.shaderTessellationAndGeometryPointSize)
|
if (!features.shaderTessellationAndGeometryPointSize)
|
||||||
|
{
|
||||||
config->backend_info.bSupportsGeometryShaders = VK_FALSE;
|
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
|
// Depth clamping implies shaderClipDistance and depthClamp
|
||||||
config->backend_info.bSupportsDepthClamp =
|
config->backend_info.bSupportsDepthClamp =
|
||||||
|
|
Loading…
Reference in New Issue