diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp index 75728e4eed5..ad1b7be6115 100644 --- a/src/amd/compiler/aco_instruction_selection.cpp +++ b/src/amd/compiler/aco_instruction_selection.cpp @@ -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;