From 2d08711a2c982c402d4ca7b6760229c5bd137eab Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 8 Jan 2021 12:37:31 -0600 Subject: [PATCH] anv: Bump maxGeometryInputComponents to 128 on Gen8+ See 8e627af59d5bd416 and 1e3e72e3054de for why this may not be a good idea on Gen7. Reviewed-by: Kenneth Graunke Part-of: --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 3a1ee91fb74..dfd8581a18f 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1560,7 +1560,7 @@ void anv_GetPhysicalDeviceProperties( .maxTessellationEvaluationInputComponents = 128, .maxTessellationEvaluationOutputComponents = 128, .maxGeometryShaderInvocations = 32, - .maxGeometryInputComponents = 64, + .maxGeometryInputComponents = devinfo->gen >= 8 ? 128 : 64, .maxGeometryOutputComponents = 128, .maxGeometryOutputVertices = 256, .maxGeometryTotalOutputComponents = 1024,