Commit 49a20d3a authored by Petri Latvala's avatar Petri Latvala

assembler: Compare correct things

This code is supposedly checking of the given register is nr=0 in ARF but
was instead checking twice if the register is anything in ARF.
Signed-off-by: Petri Latvala's avatarPetri Latvala <>
Reviewed-by: Arkadiusz Hiler's avatarArkadiusz Hiler <>
parent 9e0df467
......@@ -180,7 +180,7 @@ validate_reg(struct brw_instruction *insn, struct brw_reg reg)
reg.file == BRW_ARF_NULL) == BRW_ARF_NULL)
assert(reg.hstride >= 0 && reg.hstride < Elements(hstride_for_reg));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment