#include <prog_execute.h>
Data Fields | |
| struct gl_program * | CurProgram |
| GLfloat(* | Attribs )[MAX_WIDTH][4] |
| Fragment Input attributes. | |
| GLfloat(* | DerivX )[4] |
| GLfloat(* | DerivY )[4] |
| GLuint | NumDeriv |
| Max index into DerivX/Y arrays. | |
| GLuint | CurElement |
| Index into Attribs arrays. | |
| GLfloat | VertAttribs [VERT_ATTRIB_MAX][4] |
| Vertex Input attribs. | |
| GLfloat | Temporaries [MAX_PROGRAM_TEMPS][4] |
| GLfloat | Outputs [MAX_PROGRAM_OUTPUTS][4] |
| GLfloat(* | EnvParams )[4] |
| Vertex or Fragment env parameters. | |
| GLuint | CondCodes [4] |
| COND_* value for x/y/z/w. | |
| GLint | AddressReg [MAX_PROGRAM_ADDRESS_REGS][4] |
| const GLubyte * | Samplers |
| GLuint | CallStack [MAX_PROGRAM_CALL_DEPTH] |
| Array mapping sampler var to tex unit. | |
| GLuint | StackDepth |
| Index/ptr to top of CallStack[]. | |
| FetchTexelLodFunc | FetchTexelLod |
| Texture fetch functions. | |
| FetchTexelDerivFunc | FetchTexelDeriv |
struct gl_program* gl_program_machine::CurProgram [read] |
| GLfloat(* gl_program_machine::Attribs)[MAX_WIDTH][4] |
Fragment Input attributes.
| GLfloat(* gl_program_machine::DerivX)[4] |
| GLfloat(* gl_program_machine::DerivY)[4] |
| GLuint gl_program_machine::NumDeriv |
Max index into DerivX/Y arrays.
Index into Attribs arrays.
| GLfloat gl_program_machine::VertAttribs[VERT_ATTRIB_MAX][4] |
Vertex Input attribs.
| GLfloat gl_program_machine::Temporaries[MAX_PROGRAM_TEMPS][4] |
| GLfloat gl_program_machine::Outputs[MAX_PROGRAM_OUTPUTS][4] |
| GLfloat(* gl_program_machine::EnvParams)[4] |
Vertex or Fragment env parameters.
| GLuint gl_program_machine::CondCodes[4] |
COND_* value for x/y/z/w.
| GLint gl_program_machine::AddressReg[MAX_PROGRAM_ADDRESS_REGS][4] |
| const GLubyte* gl_program_machine::Samplers |
| GLuint gl_program_machine::CallStack[MAX_PROGRAM_CALL_DEPTH] |
Array mapping sampler var to tex unit.
For CAL/RET instructions
Index/ptr to top of CallStack[].
Texture fetch functions.
1.5.4