i965: fix unused variable warning in gen7_block_read_scratch()
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
parent
df4ff31d3c
commit
c9f1767903
1 changed files with 1 additions and 2 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue