Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15276>
if (inst->dst.file == QFILE_TEMP) {
/* Only a ldunif gets to write to R5, which only has a
* single 32-bit channel of storage.
+ *
+ * NOTE: ldunifa is subject to the same, however, going by
+ * shader-db it is best to keep r5 exclusive to ldunif, probably
+ * because ldunif has usually a shorter lifespan, allowing for
+ * more accumulator reuse and QPU merges.
*/
if (!inst->qpu.sig.ldunif) {
uint8_t class_bits =