aco: Store TES outputs when TES runs on the HW VS stage.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 6 Mar 2020 11:51:17 +0000 (13:51 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 11 Mar 2020 08:34:11 +0000 (08:34 +0000)
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>

src/amd/compiler/aco_instruction_selection.cpp

index 72c5284437be59fa8f9214df1a97b0c0f4e16ebd..74fd99cba3a7e9a7e116f3118725035b9ac6d8af 100644 (file)
@@ -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);