Move stuff common to vertex/fragment_program into the base class, including:
Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program().
This commit is contained in:
@@ -256,7 +256,13 @@ _mesa_load_state_parameters(GLcontext *ctx,
|
||||
|
||||
|
||||
extern void
|
||||
_mesa_print_program(GLuint count, const struct prog_instruction *inst);
|
||||
_mesa_print_instruction(const struct prog_instruction *inst);
|
||||
|
||||
extern void
|
||||
_mesa_print_program(const struct program *prog);
|
||||
|
||||
extern void
|
||||
_mesa_print_program_parameters(GLcontext *ctx, const struct program *prog);
|
||||
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user