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

gl_shader_state Struct Reference

#include <mtypes.h>


Detailed Description

Context state for GLSL vertex/fragment shaders.

Data Fields

struct gl_shader_programCurrentProgram
 The user-bound program.
GLboolean EmitHighLevelInstructions
 Driver-selectable options:.
GLboolean EmitContReturn
 Emit CONT/RET opcodes?
GLboolean EmitCondCodes
 Use condition codes?
GLboolean EmitComments
 Annotated instructions.
GLboolean EmitNVTempInitialization
 0-fill NV temp registers
void * MemPool
GLbitfield Flags
 Mask of GLSL_x flags.
struct gl_sl_pragmas DefaultPragmas
 Default pragma settings.

Field Documentation

struct gl_shader_program* gl_shader_state::CurrentProgram [read]

The user-bound program.

GLboolean gl_shader_state::EmitHighLevelInstructions

Driver-selectable options:.

IF/ELSE/ENDIF vs. BRA, etc.

GLboolean gl_shader_state::EmitContReturn

Emit CONT/RET opcodes?

GLboolean gl_shader_state::EmitCondCodes

Use condition codes?

GLboolean gl_shader_state::EmitComments

Annotated instructions.

GLboolean gl_shader_state::EmitNVTempInitialization

0-fill NV temp registers

void* gl_shader_state::MemPool

GLbitfield gl_shader_state::Flags

Mask of GLSL_x flags.

struct gl_sl_pragmas gl_shader_state::DefaultPragmas [read]

Default pragma settings.


The documentation for this struct was generated from the following file:
Generated on Sun Sep 27 06:47:47 2009 for Mesa Main by  doxygen 1.5.4