mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 21:10:12 +01:00
aco: set has_color_exports with GPL
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Fixes: 192486b7aa ("aco/gfx11: export mrtz in discard early exit for non-color shaders")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20937>
This commit is contained in:
parent
1a93cd1556
commit
695cf75266
1 changed files with 3 additions and 0 deletions
|
|
@ -11367,6 +11367,9 @@ create_fs_exports(isel_context* ctx)
|
|||
|
||||
if (ctx->program->info.ps.has_epilog) {
|
||||
create_fs_jump_to_epilog(ctx);
|
||||
|
||||
/* FS epilogs always have at least one color/null export. */
|
||||
ctx->program->has_color_exports = true;
|
||||
} else {
|
||||
struct aco_export_mrt mrts[8];
|
||||
unsigned compacted_mrt_index = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue