From: Kenneth Graunke Date: Fri, 20 May 2011 23:28:29 +0000 (-0700) Subject: i965: Remove "TXD" from justification of sampler message headers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24de02acaca2ed2e5149a6a026b8707cd0d6d27f;p=mesa.git 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 --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index add69b16737..eb954c8bf9c 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;