radv: restore an assertion in handle_vs_outputs()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 12 Jul 2019 16:12:32 +0000 (18:12 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 Jul 2019 09:16:53 +0000 (11:16 +0200)
The NGG GS epilogue no longers call that function so the assertion
is just useless now.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_nir_to_llvm.c

index b890ce56f168b92d948ee924256368fcdbe60c26..b87258d469521314beeb8053e30a887fd2cd2161 100644 (file)
@@ -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];
                }