From ec56a7093ce21ee63ca3e153613e494872a403f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timur=20Krist=C3=B3f?= Date: Fri, 6 Mar 2020 13:52:35 +0200 Subject: [PATCH] aco: Enable streamout when TES runs on the HW VS stage. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Timur Kristóf Reviewed-by: Rhys Perry Part-of: --- src/amd/compiler/aco_instruction_selection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2