From fa287c99ed18a3543ecdac4bd07ac82b6c73d2bf Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 25 Oct 2022 11:59:42 +0200 Subject: [PATCH] aco: remove invalid assertions for NGG streamout Streamout outputs are directly emitted from NIR now. Signed-off-by: Samuel Pitoiset Reviewed-by: Rhys Perry Part-of: --- src/amd/compiler/aco_instruction_selection_setup.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/amd/compiler/aco_instruction_selection_setup.cpp b/src/amd/compiler/aco_instruction_selection_setup.cpp index b813cb2d0ba..eda0d7f7e1a 100644 --- a/src/amd/compiler/aco_instruction_selection_setup.cpp +++ b/src/amd/compiler/aco_instruction_selection_setup.cpp @@ -271,10 +271,6 @@ setup_vs_variables(isel_context* ctx, nir_shader* nir) { if (ctx->stage == vertex_vs || ctx->stage == vertex_ngg) { setup_vs_output_info(ctx, nir); - - /* TODO: NGG streamout */ - if (ctx->stage.hw == HWStage::NGG) - assert(!ctx->program->info.so.num_outputs); } if (ctx->stage == vertex_ngg) { @@ -312,10 +308,6 @@ setup_tes_variables(isel_context* ctx, nir_shader* nir) { if (ctx->stage == tess_eval_vs || ctx->stage == tess_eval_ngg) { setup_vs_output_info(ctx, nir); - - /* TODO: NGG streamout */ - if (ctx->stage.hw == HWStage::NGG) - assert(!ctx->program->info.so.num_outputs); } if (ctx->stage == tess_eval_ngg) {