diff options
author | Timothy Arceri <[email protected]> | 2016-10-04 11:15:05 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-10-05 10:13:58 +1100 |
commit | c9f176790346558fa48cfbcf6e2d5e140eb78fd7 (patch) | |
tree | 08d8bdf0f573cf231e6ef11e6d327833f667e5df /src/mesa | |
parent | df4ff31d3c1d907c237ed0e699deec1e24e8a9d3 (diff) |
i965: fix unused variable warning in gen7_block_read_scratch()
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu_emit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index c98867aa6c9..cfb3fa01d08 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -2262,9 +2262,8 @@ gen7_block_read_scratch(struct brw_codegen *p, int num_regs, unsigned offset) { - const struct gen_device_info *devinfo = p->devinfo; brw_inst *insn = next_insn(p, BRW_OPCODE_SEND); - assert(brw_inst_pred_control(devinfo, insn) == BRW_PREDICATE_NONE); + assert(brw_inst_pred_control(p->devinfo, insn) == BRW_PREDICATE_NONE); brw_set_dest(p, insn, retype(dest, BRW_REGISTER_TYPE_UW)); |