i965g: Fix assert.
authorVinson Lee <vlee@vmware.com>
Mon, 4 Jan 2010 19:28:37 +0000 (11:28 -0800)
committerVinson Lee <vlee@vmware.com>
Mon, 4 Jan 2010 19:28:37 +0000 (11:28 -0800)
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);
 }