Mesa (17.3): radv/gfx9: fix primitive topology when adjacency is used
Emil Velikov
evelikov at kemper.freedesktop.org
Thu Jan 4 14:09:16 UTC 2018
Module: Mesa
Branch: 17.3
Commit: ecd5f3c37b42d8aaf007f3c53e57d45778b1bdf4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecd5f3c37b42d8aaf007f3c53e57d45778b1bdf4
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Wed Dec 20 20:57:21 2017 +0100
radv/gfx9: fix primitive topology when adjacency is used
Found by inspection.
Cc: 17.3 <mesa-stable at lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
(cherry picked from commit 9f54675dbe01518ec4b71e8fc9b4f6e777b27185)
---
src/amd/vulkan/radv_pipeline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index 848837cea9..d5adb4c8c9 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -1175,7 +1175,7 @@ static void calculate_gfx9_gs_info(const VkGraphicsPipelineCreateInfo *pCreateIn
case VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY:
case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY:
case VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY:
- uses_adjacency = false;
+ uses_adjacency = true;
break;
default:
uses_adjacency = false;
More information about the mesa-commit
mailing list