diff options
author | Samuel Pitoiset <[email protected]> | 2019-07-11 17:02:13 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-07-12 08:19:53 +0200 |
commit | df0a23ad1ef6cfeeffca02a7556d92ad1c128bbc (patch) | |
tree | 66ccd8bdec337f864fd473efa14dc9178e3f9140 /src/amd | |
parent | edcd2bc8337f77c9c50d95b9d34cda7de6a013f1 (diff) |
radv/gfx10: fix exporting clip/cull distances for GS
This fixes dEQP-VK.clipping.user_defined.clip_distance.*geom*.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/vulkan/radv_nir_to_llvm.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |