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:

committed by
Eric Engestrom

parent
c912c746c5
commit
461f11239e
@@ -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
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user