Mesa (master): i965: Fix up copy'n' pasteo from moving coordinate setup around for gen4.
Eric Anholt
anholt at kemper.freedesktop.org
Fri Oct 1 21:21:14 UTC 2010
Module: Mesa
Branch: master
Commit: e9bcc8328968f05a5688a020bfa8165260865a9b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9bcc8328968f05a5688a020bfa8165260865a9b
Author: Eric Anholt <eric at anholt.net>
Date: Fri Oct 1 14:09:00 2010 -0700
i965: Fix up copy'n'pasteo from moving coordinate setup around for gen4.
---
src/mesa/drivers/dri/i965/brw_fs.cpp | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 99f50b9..4c8aafb 100644
--- 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) {
More information about the mesa-commit
mailing list