diff options
author | Eric Anholt <[email protected]> | 2009-01-13 12:50:38 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-01-21 14:03:56 -0800 |
commit | b8bd0b0ddc357f9b430bb6ddeb60c5a2179d3791 (patch) | |
tree | 22f8297dacf72a53dfb516b6f3102541a829154f /src/mesa/drivers/dri/i915 | |
parent | fc3971d80051b34836716579fd060dbb122d036b (diff) |
i915: Add decode for PS in batchbuffers.
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_fragprog.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_fragprog.c b/src/mesa/drivers/dri/i915/i915_fragprog.c index 4760906a7ed..f091d600c35 100644 --- a/src/mesa/drivers/dri/i915/i915_fragprog.c +++ b/src/mesa/drivers/dri/i915/i915_fragprog.c @@ -33,6 +33,7 @@ #include "shader/prog_parameter.h" #include "shader/program.h" #include "shader/programopt.h" +#include "shader/prog_print.h" #include "tnl/tnl.h" #include "tnl/t_context.h" @@ -1048,6 +1049,9 @@ i915ProgramStringNotify(GLcontext * ctx, _mesa_append_fog_code(ctx, &p->FragProg); p->FragProg.FogOption = GL_NONE; } + + if (INTEL_DEBUG & DEBUG_STATE) + _mesa_print_program(prog); } _tnl_program_string(ctx, target, prog); |