[Mesa-stable] [Mesa-dev] [PATCH] radv/gfx9: fix primitive topology when adjacency is used
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Wed Dec 20 21:13:03 UTC 2017
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
On Wed, Dec 20, 2017 at 8:57 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Found by inspection.
>
> Cc: 17.3 <mesa-stable at lists.freedesktop.org>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
> 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 d725f9b891..ff0395ba5d 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;
> --
> 2.15.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-stable
mailing list