From: Stéphane Marchesin Date: Tue, 27 May 2014 05:12:17 +0000 (-0700) Subject: i915g: Fix shader disasm code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=328e7e77424e9019b7c978fdc78da723fe079102;p=mesa.git i915g: Fix shader disasm code This broke when I separated declarations/shader. --- diff --git a/src/gallium/drivers/i915/i915_debug_fp.c b/src/gallium/drivers/i915/i915_debug_fp.c index 44e0dc906c3..c4ffade0843 100644 --- a/src/gallium/drivers/i915/i915_debug_fp.c +++ b/src/gallium/drivers/i915/i915_debug_fp.c @@ -339,7 +339,6 @@ i915_disassemble_program(struct debug_stream *stream, assert((program[0] & 0x1ff) + 2 == sz); - program++; for (i = 1; i < sz; i += 3, program += 3) { unsigned opcode = program[0] & (0x1f << 24);