jay: Don't forget UACCUM!

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41215>
This commit is contained in:
Kenneth Graunke 2026-04-20 19:53:45 -07:00 committed by Marge Bot
parent 3308626e12
commit 0a5c748e19
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ to_brw_reg(jay_function *f,
R = brw_imm_ud(jay_as_uint(d));
} else if (jay_is_null(d)) {
R = brw_null_reg();
} else if (d.file == UGPR) {
} else if (d.file == UGPR || d.file == UACCUM) {
unsigned grf = (reg >> 1) / 8;
offset_B = ((reg >> 1) % 8) * 4;

View file

@ -11,7 +11,7 @@
/* Validatation doesn't make sense in release builds */
#ifndef NDEBUG
#define NUM_VALIDATE_FILES (ACCUM + 1)
#define NUM_VALIDATE_FILES (UACCUM + 1)
struct regfile {
/* For each register in each file, records the SSA index currently stored