summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimur Kristóf <[email protected]>2020-03-06 13:52:35 +0200
committerMarge Bot <[email protected]>2020-03-11 08:34:11 +0000
commitec56a7093ce21ee63ca3e153613e494872a403f3 (patch)
tree3f02f07e94f050b0d3478936b785afd08c11e9f9
parent6047e51430ed423635090a30e965db7f01eb6d72 (diff)
aco: Enable streamout when TES runs on the HW VS stage.
Signed-off-by: Timur Kristóf <[email protected]> Reviewed-by: Rhys Perry <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3964>
-rw-r--r--src/amd/compiler/aco_instruction_selection.cpp2
1 files changed, 1 insertions, 1 deletions
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) {