[Mesa-dev] [PATCH] i915g: Fix typo in i915_translate_instruction()

Echelon9 rhyskidd at gmail.com
Sat Aug 27 15:25:44 UTC 2016


From: Rhys Kidd <rhyskidd at gmail.com>

Noticed this error in a debug message whilst reviewing
https://bugs.freedesktop.org/show_bug.cgi?id=97477

This patch doesn't go towards fixing that bug, but at
least may clarify future debug output.

Signed-off-by: Rhys Kidd <rhyskidd at gmail.com>
---
I don't have the hardware to actually test this, but then again this
is an fix for a typo in a debug output comment ...

Because i915g gets less attention these days, copying a slightly longer
list of developers than usual that have touched this file.

Cc: Stéphane Marchesin <marcheu at google.com>
Cc: Stéphane Marchesin <stephane.marchesin at gmail.com>
Cc: Jakob Bornecrantz <wallbraker at gmail.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Kenneth Graunke <kenneth at whitecape.org>
Cc: Brian Paul <brianp at vmware.com>

I do not have commit rights to fd.o so after R-B would appreciate if
the reviewer could push to master.

 src/gallium/drivers/i915/i915_fpc_translate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/i915/i915_fpc_translate.c b/src/gallium/drivers/i915/i915_fpc_translate.c
index 70016ed..72b9092 100644
--- a/src/gallium/drivers/i915/i915_fpc_translate.c
+++ b/src/gallium/drivers/i915/i915_fpc_translate.c
@@ -585,7 +585,7 @@ i915_translate_instruction(struct i915_fp_compile *p,
   case TGSI_OPCODE_DDX:
   case TGSI_OPCODE_DDY:
       /* XXX We just output 0 here */
-      debug_printf("Punting DDX/DDX\n");
+      debug_printf("Punting DDX/DDY\n");
       src0 = get_result_vector(p, &inst->Dst[0]);
       i915_emit_arith(p,
                       A0_MOV,
-- 
2.7.4



More information about the mesa-dev mailing list