diff options
author | Vinson Lee <[email protected]> | 2012-11-06 23:37:20 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2012-11-07 22:54:26 -0800 |
commit | 4cb8b946d9b404da4f72cdb70d07c2283df3922e (patch) | |
tree | 665638d7b6db828c121e92004246e6eeae8ecb3f /src | |
parent | a3b6b2d3055070da9bf7054fecfd0b171c398eb7 (diff) |
i965: Fix assertion in brw_alu3.
Fixes side effect in assertion defect reported by Coverity.
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | 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 3d95b926235..eada9d99e96 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -779,7 +779,7 @@ static struct brw_instruction *brw_alu3(struct brw_compile *p, dest.file == BRW_MESSAGE_REGISTER_FILE); assert(dest.nr < 128); assert(dest.address_mode == BRW_ADDRESS_DIRECT); - assert(dest.type = BRW_REGISTER_TYPE_F); + assert(dest.type == BRW_REGISTER_TYPE_F); insn->bits1.da3src.dest_reg_file = (dest.file == BRW_MESSAGE_REGISTER_FILE); insn->bits1.da3src.dest_reg_nr = dest.nr; insn->bits1.da3src.dest_subreg_nr = dest.subnr / 16; |