Mesa (master): i965: Remove "TXD" from justification of sampler message headers.

Kenneth Graunke kwg at kemper.freedesktop.org
Fri May 20 23:34:48 UTC 2011


Module: Mesa
Branch: master
Commit: 24de02acaca2ed2e5149a6a026b8707cd0d6d27f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=24de02acaca2ed2e5149a6a026b8707cd0d6d27f

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri May 20 16:28:29 2011 -0700

i965: Remove "TXD" from justification of sampler message headers.

The coordinate offsets set in the m1 header are for textureOffset;
they have nothing to do with textureGrad (TXD).

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_fs.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index add69b1..eb954c8 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -1320,7 +1320,7 @@ fs_visitor::emit_texture_gen5(ir_texture *ir, fs_reg dst, fs_reg coordinate,
    bool header_present = false;
 
    if (ir->offset) {
-      /* The TXD offsets set up by the ir_texture visitor are in the
+      /* The offsets set up by the ir_texture visitor are in the
        * m1 header, so we can't go headerless.
        */
       header_present = true;




More information about the mesa-commit mailing list