summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-12-20 20:57:21 +0100
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-12-21 10:49:17 +0100
commit9f54675dbe01518ec4b71e8fc9b4f6e777b27185 (patch)
tree2f2debc3d00f602b0f7d25170fb66caf083f3643
parent6e5b882339e9128348f0e7b828230f07338fce55 (diff)
radv/gfx9: fix primitive topology when adjacency is used
Found by inspection. Cc: 17.3 <mesa-stable@lists.freedesktop.org> Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-rw-r--r--src/amd/vulkan/radv_pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index 3fc21bb501f..14ada20d525 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -1122,7 +1122,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;