From: Stéphane Marchesin Date: Thu, 22 Sep 2011 00:55:26 +0000 (-0700) Subject: i915g: Add ifdef'd out code to dump compiled shaders. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef1fa4467f269e70f9f42764d6bfaffdee27cd6a;p=mesa.git i915g: Add ifdef'd out code to dump compiled shaders. --- 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 }