Mesa (mesa_7_6_branch): i965: Fix assert.

Vinson Lee vlee at kemper.freedesktop.org
Fri Dec 25 06:58:51 UTC 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 2447786ed00a19466c9cc9b9efbfa084e88114eb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2447786ed00a19466c9cc9b9efbfa084e88114eb

Author: Vinson Lee <vlee at vmware.com>
Date:   Thu Dec 24 22:58:05 2009 -0800

i965: Fix assert.

---

 src/mesa/drivers/dri/i965/brw_eu_emit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index 241cdc3..b346277 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -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);
 }




More information about the mesa-commit mailing list