From: Samuel Pitoiset Date: Fri, 12 Jul 2019 16:12:32 +0000 (+0200) Subject: radv: restore an assertion in handle_vs_outputs() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=219dc1b25ccacbd6c0d3db35c5284419319c3cb2;p=mesa.git radv: restore an assertion in handle_vs_outputs() The NGG GS epilogue no longers call that function so the assertion is just useless now. Signed-off-by: Samuel Pitoiset Reviewed-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_nir_to_llvm.c b/src/amd/vulkan/radv_nir_to_llvm.c index b890ce56f16..b87258d4695 100644 --- a/src/amd/vulkan/radv_nir_to_llvm.c +++ b/src/amd/vulkan/radv_nir_to_llvm.c @@ -2965,7 +2965,7 @@ handle_vs_outputs_post(struct radv_shader_context *ctx, outputs[noutput].usage_mask = ctx->shader_info->info.tes.output_usage_mask[i]; } else { - assert(ctx->is_gs_copy_shader || ctx->options->key.vs_common_out.as_ngg); + assert(ctx->is_gs_copy_shader); outputs[noutput].usage_mask = ctx->shader_info->info.gs.output_usage_mask[i]; }