i965: Fix assert.
authorVinson Lee <vlee@vmware.com>
Fri, 25 Dec 2009 06:58:05 +0000 (22:58 -0800)
committerVinson Lee <vlee@vmware.com>
Fri, 25 Dec 2009 06:58:05 +0000 (22:58 -0800)
src/mesa/drivers/dri/i965/brw_eu_emit.c

index 241cdc33f8606f9735f6b55b612f3d72208311e5..b346277f1787fc6fc58e7a528561f66c60bc8ae8 100644 (file)
@@ -852,7 +852,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);
 }