projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfd9715
)
i965: Fix up copy'n'pasteo from moving coordinate setup around for gen4.
author
Eric Anholt
<eric@anholt.net>
Fri, 1 Oct 2010 21:09:00 +0000
(14:09 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 1 Oct 2010 21:09:00 +0000
(14:09 -0700)
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 99f50b91e15e3063d5103c86d79f184507287cae..4c8aafb2548971ca11fdcc617016ca4323585da1 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-1238,7
+1238,6
@@
fs_visitor::emit_texture_gen4(ir_texture *ir, fs_reg dst, fs_reg coordinate)
emit(fs_inst(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen),
coordinate));
coordinate.reg_offset++;
- mlen++;
}
/* gen4's SIMD8 sampler always has the slots for u,v,r present. */
mlen = 3;
@@
-1365,7
+1364,6
@@
fs_visitor::emit_texture_gen5(ir_texture *ir, fs_reg dst, fs_reg coordinate)
for (mlen = 0; mlen < ir->coordinate->type->vector_elements; mlen++) {
emit(fs_inst(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen), coordinate));
coordinate.reg_offset++;
- mlen++;
}
if (ir->shadow_comparitor) {