mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02: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> (cherry picked from commit695cf75266)
This commit is contained in:
parent
68246581eb
commit
c02ae8592e
2 changed files with 4 additions and 1 deletions
|
|
@ -4693,7 +4693,7 @@
|
|||
"description": "aco: set has_color_exports with GPL",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "192486b7aa5ef3b24516e16b0e219fad7032fb7c"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -11497,6 +11497,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