projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa14277
)
i965: Set correct field for indirect align16 addrimm.
author
Matt Turner
<mattst88@gmail.com>
Mon, 26 Oct 2015 00:20:54 +0000
(17:20 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Fri, 30 Oct 2015 00:51:16 +0000
(17:51 -0700)
This has been wrong since the initial import of the i965 driver.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_eu_emit.c
b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index ebd811f967417aaf4994e133a9a1e971322e2667..df4859086ddae63c934615bc8356ced478de6188 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/
src/mesa/drivers/dri/i965/brw_eu_emit.c
@@
-410,7
+410,7
@@
brw_set_src0(struct brw_codegen *p, brw_inst *inst, struct brw_reg reg)
if (brw_inst_access_mode(devinfo, inst) == BRW_ALIGN_1) {
brw_inst_set_src0_ia1_addr_imm(devinfo, inst, reg.dw1.bits.indirect_offset);
} else {
- brw_inst_set_src0_ia
_subreg_nr
(devinfo, inst, reg.dw1.bits.indirect_offset);
+ brw_inst_set_src0_ia
16_addr_imm
(devinfo, inst, reg.dw1.bits.indirect_offset);
}
}