From 24de02acaca2ed2e5149a6a026b8707cd0d6d27f Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 20 May 2011 16:28:29 -0700 Subject: [PATCH] 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 --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4