aco: prevent adding DONE/VM to the last export if the FS has an epilog
If the fragment shader exports MRTZ and the epilog some color exports, DONE/VM should be added to the last export. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17485>
This commit is contained in:
parent
2784bfe93f
commit
d9ffff09b0
|
@ -803,8 +803,10 @@ fix_exports(asm_context& ctx, std::vector<uint32_t>& out, Program* program)
|
|||
break;
|
||||
}
|
||||
} else {
|
||||
exp.done = true;
|
||||
exp.valid_mask = true;
|
||||
if (!program->info.ps.has_epilog) {
|
||||
exp.done = true;
|
||||
exp.valid_mask = true;
|
||||
}
|
||||
exported = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue