From 328e7e77424e9019b7c978fdc78da723fe079102 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Marchesin?= Date: Mon, 26 May 2014 22:12:17 -0700 Subject: [PATCH] i915g: Fix shader disasm code This broke when I separated declarations/shader. --- src/gallium/drivers/i915/i915_debug_fp.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.30.2