i965: Fix disassembly of BLORP clear programs.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 11 Jun 2014 19:22:12 +0000 (12:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 12 Jun 2014 07:56:08 +0000 (00:56 -0700)
Too many levels of indirection.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_blorp_clear.cpp

index aeed6c91d412fa82f70c3224f9080ef9cda109f0..064a5fbce4b2827ccdae55adf7aba0c87657d57a 100644 (file)
@@ -486,7 +486,7 @@ brw_blorp_const_color_program::compile(struct brw_context *brw,
 
    if (unlikely(INTEL_DEBUG & DEBUG_BLORP)) {
       fprintf(stderr, "Native code for BLORP clear:\n");
-      brw_disassemble(brw, &func.store, 0, func.next_insn_offset, stderr);
+      brw_disassemble(brw, func.store, 0, func.next_insn_offset, stderr);
       fprintf(stderr, "\n");
    }