From ef1fa4467f269e70f9f42764d6bfaffdee27cd6a Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Marchesin?= Date: Wed, 21 Sep 2011 17:55:26 -0700 Subject: [PATCH] i915g: Add ifdef'd out code to dump compiled shaders. --- src/gallium/drivers/i915/i915_fpc_translate.c | 4 ++++ 1 file changed, 4 insertions(+) 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 } -- 2.30.2