Mesa (master): i915g: Fix shader disasm code

Stephane Marchesin marcheu at kemper.freedesktop.org
Tue May 27 03:55:01 UTC 2014


Module: Mesa
Branch: master
Commit: 328e7e77424e9019b7c978fdc78da723fe079102
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=328e7e77424e9019b7c978fdc78da723fe079102

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Mon May 26 22:12:17 2014 -0700

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 44e0dc9..c4ffade 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);
 




More information about the mesa-commit mailing list