mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 06:38:09 +02:00
i965: Check reg.nr for BRW_ARF_NULL instead of reg.file.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
60e4c99488
commit
ecdda414d3
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ validate_reg(struct brw_instruction *insn, struct brw_reg reg)
|
|||
}
|
||||
|
||||
if (reg.file == BRW_ARCHITECTURE_REGISTER_FILE &&
|
||||
reg.file == BRW_ARF_NULL)
|
||||
reg.nr == BRW_ARF_NULL)
|
||||
return;
|
||||
|
||||
assert(reg.hstride >= 0 && reg.hstride < Elements(hstride_for_reg));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue