i915: Add decode for PS in batchbuffers.

This commit is contained in:
Eric Anholt
2009-01-13 12:50:38 -08:00
parent fc3971d800
commit b8bd0b0ddc
2 changed files with 483 additions and 6 deletions

View File

@@ -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);