From e87015f5089a2c4a99e0288e1adeeabb5a7ca7e3 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 18 Apr 2013 21:51:49 -0700 Subject: [PATCH] Revert "i965: Check reg.nr for BRW_ARF_NULL instead of reg.file." This reverts commit ecdda414d361ab4430fd5747c9217687c1f3d63f. Commit was supposed to be a simple typo fix. Clearly needs more investigating. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63688 --- src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index a98892b7a6a..704f219f6f7 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -182,7 +182,7 @@ validate_reg(struct brw_instruction *insn, struct brw_reg reg) } if (reg.file == BRW_ARCHITECTURE_REGISTER_FILE && - reg.nr == BRW_ARF_NULL) + reg.file == BRW_ARF_NULL) return; assert(reg.hstride >= 0 && reg.hstride < Elements(hstride_for_reg)); -- 2.30.2