aco: Enable streamout when TES runs on the HW VS stage.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3964>
This commit is contained in:
Timur Kristóf
2020-03-06 13:52:35 +02:00
committed by Marge Bot
parent 6047e51430
commit ec56a7093c
@@ -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) {