i915g: Fix typo in i915_translate_instruction()
authorRhys Kidd <rhyskidd@gmail.com>
Sat, 27 Aug 2016 15:25:44 +0000 (11:25 -0400)
committerEric Anholt <eric@anholt.net>
Mon, 29 Aug 2016 18:03:20 +0000 (11:03 -0700)
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@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/i915/i915_fpc_translate.c

index 70016ed..72b9092 100644 (file)
@@ -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,