diff options
author | Stéphane Marchesin <[email protected]> | 2011-09-21 17:55:26 -0700 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2011-09-21 18:01:40 -0700 |
commit | ef1fa4467f269e70f9f42764d6bfaffdee27cd6a (patch) | |
tree | 3393424251371cb13e295954483ab463be46b7e1 | |
parent | 9a15b1eb95da138231994b6d05cf09c60ba1d842 (diff) |
i915g: Add ifdef'd out code to dump compiled shaders.
-rw-r--r-- | src/gallium/drivers/i915/i915_fpc_translate.c | 4 |
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 } |