i915g: Add ifdef'd out code to dump compiled shaders.
authorStéphane Marchesin <marcheu@chromium.org>
Thu, 22 Sep 2011 00:55:26 +0000 (17:55 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Thu, 22 Sep 2011 01:01:40 +0000 (18:01 -0700)
src/gallium/drivers/i915/i915_fpc_translate.c

index c75f6c5fd63ffe0ddc919c2086c625db49127db4..05fae223503cd863a328451e62c9a14cc065be61 100644 (file)
@@ -1313,4 +1313,8 @@ i915_translate_fragment_program( struct i915_context *i915,
 
    i915_fini_compile(i915, p);
    i915_optimize_free(i_tokens);
+
+#if 0
+   i915_disassemble_program(NULL, fs->program, fs->program_len);
+#endif
 }