v3d/compiler: Fixup output types for all 8 outputs

Cc: mesa-stable
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33942>
(cherry picked from commit 1ec0cdb733)
This commit is contained in:
Ella Stanforth 2025-04-13 18:00:12 +01:00 committed by Eric Engestrom
parent a2d71040f3
commit a46b01a8c9
2 changed files with 5 additions and 1 deletions

View file

@ -1144,7 +1144,7 @@
"description": "v3d/compiler: Fixup output types for all 8 outputs",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -1106,6 +1106,10 @@ v3d_fixup_fs_output_types(struct v3d_compile *c)
case FRAG_RESULT_DATA1:
case FRAG_RESULT_DATA2:
case FRAG_RESULT_DATA3:
case FRAG_RESULT_DATA4:
case FRAG_RESULT_DATA5:
case FRAG_RESULT_DATA6:
case FRAG_RESULT_DATA7:
mask = 1 << (var->data.location - FRAG_RESULT_DATA0);
break;
}