From: Timur Kristóf Date: Fri, 6 Mar 2020 11:51:17 +0000 (+0200) Subject: aco: Store TES outputs when TES runs on the HW VS stage. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6047e51430ed423635090a30e965db7f01eb6d72;p=mesa.git aco: Store TES outputs 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 72c5284437b..74fd99cba3a 100644 --- a/src/amd/compiler/aco_instruction_selection.cpp +++ b/src/amd/compiler/aco_instruction_selection.cpp @@ -3365,6 +3365,7 @@ void visit_load_tcs_output(isel_context *ctx, nir_intrinsic_instr *instr, bool p void visit_store_output(isel_context *ctx, nir_intrinsic_instr *instr) { if (ctx->stage == vertex_vs || + ctx->stage == tess_eval_vs || ctx->stage == fragment_fs || ctx->shader->info.stage == MESA_SHADER_GEOMETRY) { unsigned write_mask = nir_intrinsic_write_mask(instr);