Revert "i965: Check reg.nr for BRW_ARF_NULL instead of reg.file."

This reverts commit ecdda414d3.

Commit was supposed to be a simple typo fix. Clearly needs more
investigating.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63688
This commit is contained in:
Matt Turner 2013-04-18 21:51:49 -07:00
parent 34efd9295e
commit e87015f508

View file

@ -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));