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 1ec0cdb73377767c9665a1e376af329db8458af6)
This commit is contained in:
Ella Stanforth
2025-04-13 18:00:12 +01:00
committed by Eric Engestrom
parent c912c746c5
commit 461f11239e
2 changed files with 5 additions and 1 deletions

View File

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

View File

@@ -1114,6 +1114,10 @@ v3d_fixup_fs_output_types(struct v3d_compile *c)
case FRAG_RESULT_DATA1: case FRAG_RESULT_DATA1:
case FRAG_RESULT_DATA2: case FRAG_RESULT_DATA2:
case FRAG_RESULT_DATA3: 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); mask = 1 << (var->data.location - FRAG_RESULT_DATA0);
break; break;
} }