From 219dc1b25ccacbd6c0d3db35c5284419319c3cb2 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 12 Jul 2019 18:12:32 +0200 Subject: [PATCH] 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 --- src/amd/vulkan/radv_nir_to_llvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } -- 2.30.2