i915g: Fix shader disasm code
authorStéphane Marchesin <marcheu@chromium.org>
Tue, 27 May 2014 05:12:17 +0000 (22:12 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Tue, 27 May 2014 06:08:49 +0000 (23:08 -0700)
This broke when I separated declarations/shader.

src/gallium/drivers/i915/i915_debug_fp.c

index 44e0dc906c388e51eaa10e6ff2a155edafbce303..c4ffade0843b6b21d15cfd98246bb9d525836b8a 100644 (file)
@@ -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);