aco: Store TES outputs 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:51:17 +02:00
committed by Marge Bot
parent 1d9d1cbce9
commit 6047e51430
@@ -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);