aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-09-21 17:55:26 -0700
committerStéphane Marchesin <[email protected]>2011-09-21 18:01:40 -0700
commitef1fa4467f269e70f9f42764d6bfaffdee27cd6a (patch)
tree3393424251371cb13e295954483ab463be46b7e1 /src/gallium/drivers
parent9a15b1eb95da138231994b6d05cf09c60ba1d842 (diff)
i915g: Add ifdef'd out code to dump compiled shaders.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/i915/i915_fpc_translate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_fpc_translate.c b/src/gallium/drivers/i915/i915_fpc_translate.c
index c75f6c5fd63..05fae223503 100644
--- a/src/gallium/drivers/i915/i915_fpc_translate.c
+++ b/src/gallium/drivers/i915/i915_fpc_translate.c
@@ -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
}