Mesa (master): anv: Bump maxGeometryInputComponents to 128 on Gen8+

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jan 8 23:22:36 UTC 2021


Module: Mesa
Branch: master
Commit: 2d08711a2c982c402d4ca7b6760229c5bd137eab
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d08711a2c982c402d4ca7b6760229c5bd137eab

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Fri Jan  8 12:37:31 2021 -0600

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 <kenneth at whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8397>

---

 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,



More information about the mesa-commit mailing list