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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user