r600g: fix warning introduced by last commit.
[mesa.git] / src / gallium / drivers / i965 / brw_eu_emit.c
index 4fe7b6acc1672feae094e80ce2b9a49e9fbfc5e7..00d8eaccbc42b97ba40ae9085a9a3c874d1c41d0 100644 (file)
@@ -860,7 +860,7 @@ void brw_land_fwd_jump(struct brw_compile *p,
        jmpi = 2;
 
    assert(jmp_insn->header.opcode == BRW_OPCODE_JMPI);
-   assert(jmp_insn->bits1.da1.src1_reg_file = BRW_IMMEDIATE_VALUE);
+   assert(jmp_insn->bits1.da1.src1_reg_file == BRW_IMMEDIATE_VALUE);
 
    jmp_insn->bits3.ud = jmpi * ((landing - jmp_insn) - 1);
 }