Mesa (master): turnip: Update maxGeometryShaderInvocations to match blob
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Apr 7 14:48:15 UTC 2020
Module: Mesa
Branch: master
Commit: 8eb009631217e415869709faadaf18dbeca8f8b0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8eb009631217e415869709faadaf18dbeca8f8b0
Author: Brian Ho <brian at brkho.com>
Date: Fri Apr 3 07:59:47 2020 -0700
turnip: Update maxGeometryShaderInvocations to match blob
Geometry shaders support an invocations parameter up to a limit
defined by maxGeometryShaderInvocations. This was set to 127, but
executing with invocations > 32 causes a crash. As it turns out, the
blob only advertises a max of 32 invocations, so we set that in
turnip as well.
Fixes dEQP-VK.geometry.instanced.draw_*_instances_{127, 64}_geometry_invocations
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4436>
---
src/freedreno/vulkan/tu_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c
index f8c856e6594..efd0d1005df 100644
--- a/src/freedreno/vulkan/tu_device.c
+++ b/src/freedreno/vulkan/tu_device.c
@@ -790,7 +790,7 @@ tu_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
.maxTessellationControlTotalOutputComponents = 4096,
.maxTessellationEvaluationInputComponents = 128,
.maxTessellationEvaluationOutputComponents = 128,
- .maxGeometryShaderInvocations = 127,
+ .maxGeometryShaderInvocations = 32,
.maxGeometryInputComponents = 64,
.maxGeometryOutputComponents = 128,
.maxGeometryOutputVertices = 256,
More information about the mesa-commit
mailing list