core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

gl_program_machine Struct Reference

#include <prog_execute.h>


Detailed Description

Virtual machine state used during execution of vertex/fragment programs.

Data Fields

struct gl_programCurProgram
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

Field Documentation

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.

GLuint gl_program_machine::CurElement

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

GLuint gl_program_machine::StackDepth

Index/ptr to top of CallStack[].

FetchTexelLodFunc gl_program_machine::FetchTexelLod

Texture fetch functions.

FetchTexelDerivFunc gl_program_machine::FetchTexelDeriv


The documentation for this struct was generated from the following file:
Generated on Sun Sep 27 06:48:02 2009 for Mesa Vertex and Fragment Program code by  doxygen 1.5.4