[Mesa-dev] [PATCH 2/2] radv/gfx10: fix exporting clip/cull distances for GS

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Thu Jul 11 22:25:37 UTC 2019


R-b

On Thu, Jul 11, 2019, 5:02 PM Samuel Pitoiset <samuel.pitoiset at gmail.com>
wrote:

> This fixes dEQP-VK.clipping.user_defined.clip_distance.*geom*.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/amd/vulkan/radv_nir_to_llvm.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/amd/vulkan/radv_nir_to_llvm.c
> b/src/amd/vulkan/radv_nir_to_llvm.c
> index 7da061f7f33..bf712b7fe45 100644
> --- a/src/amd/vulkan/radv_nir_to_llvm.c
> +++ b/src/amd/vulkan/radv_nir_to_llvm.c
> @@ -3656,7 +3656,8 @@ static void gfx10_ngg_gs_emit_epilogue_2(struct
> radv_shader_context *ctx)
>                         noutput++;
>                 }
>
> -               radv_llvm_export_vs(ctx, outputs, noutput, outinfo, false);
> +               radv_llvm_export_vs(ctx, outputs, noutput, outinfo,
> +
>  ctx->options->key.vs_common_out.export_clip_dists);
>                 FREE(outputs);
>         }
>         ac_build_endif(&ctx->ac, 5145);
> --
> 2.22.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190712/412865c6/attachment.html>


More information about the mesa-dev mailing list