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-Tag: upstream/20.1.8~2495 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec56a7093ce21ee63ca3e153613e494872a403f3;p=platform%2Fupstream%2Fmesa.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 74fd99c..364e04e 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) {