radv,aco: move has_epilog to radv_shader_info

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24404>
This commit is contained in:
Samuel Pitoiset
2023-08-02 08:53:18 +02:00
committed by Marge Bot
parent eadc72d9de
commit f4ec2e7bb3
10 changed files with 30 additions and 30 deletions

View File

@@ -1003,7 +1003,7 @@ fix_exports(asm_context& ctx, std::vector<uint32_t>& out, Program* program)
break;
}
} else {
if (!program->info.ps.has_epilog) {
if (!program->info.has_epilog) {
exp.done = true;
exp.valid_mask = true;
}
@@ -1016,7 +1016,7 @@ fix_exports(asm_context& ctx, std::vector<uint32_t>& out, Program* program)
/* Do not abort if the main FS has an epilog because it only
* exports MRTZ (if present) and the epilog exports colors.
*/
exported |= program->stage.hw == AC_HW_PIXEL_SHADER && program->info.ps.has_epilog;
exported |= program->stage.hw == AC_HW_PIXEL_SHADER && program->info.has_epilog;
}
++it;
}