From: Timur Kristóf Date: Fri, 6 Mar 2020 11:52:35 +0000 (+0200) Subject: aco: Enable streamout when TES runs on the HW VS stage. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec56a7093ce21ee63ca3e153613e494872a403f3;p=mesa.git aco: Enable streamout when TES runs on the HW VS stage. Signed-off-by: Timur Kristóf Reviewed-by: Rhys Perry Part-of: --- diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp index 74fd99cba3a..364e04e2ee4 100644 --- a/src/amd/compiler/aco_instruction_selection.cpp +++ b/src/amd/compiler/aco_instruction_selection.cpp @@ -9596,7 +9596,7 @@ void select_program(Program *program, nir_function_impl *func = nir_shader_get_entrypoint(nir); visit_cf_list(&ctx, &func->body); - if (ctx.program->info->so.num_outputs && ctx.stage == vertex_vs) + if (ctx.program->info->so.num_outputs && (ctx.stage == vertex_vs || ctx.stage == tess_eval_vs)) emit_streamout(&ctx, 0); if (ctx.stage == vertex_vs || ctx.stage == tess_eval_vs) {