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

asm_symbol Struct Reference

#include <program_parser.h>


Data Fields

struct asm_symbolnext
 List linkage for freeing.
const char * name
enum asm_type type
unsigned attrib_binding
unsigned output_binding
 Output / result register number.
unsigned param_binding_type
 One of PROGRAM_STATE_VAR, PROGRAM_LOCAL_PARAM, or PROGRAM_ENV_PARAM.
unsigned param_binding_begin
 Offset into the program_parameter_list where the tokens representing our bound state (or constants) start.
unsigned param_binding_length
unsigned temp_binding
 Index of the temp register assigned to this variable.
unsigned param_is_array:1
 Flag whether or not a PARAM is an array.
unsigned param_accessed_indirectly:1
 Flag whether or not a PARAM array is accessed indirectly.
unsigned pass1_done:1
 Is first pass of parameter layout done with this variable?


Field Documentation

struct asm_symbol* asm_symbol::next [read]

List linkage for freeing.

const char* asm_symbol::name

enum asm_type asm_symbol::type

unsigned asm_symbol::attrib_binding

unsigned asm_symbol::output_binding

Output / result register number.

unsigned asm_symbol::param_binding_type

One of PROGRAM_STATE_VAR, PROGRAM_LOCAL_PARAM, or PROGRAM_ENV_PARAM.

unsigned asm_symbol::param_binding_begin

Offset into the program_parameter_list where the tokens representing our bound state (or constants) start.

unsigned asm_symbol::param_binding_length

unsigned asm_symbol::temp_binding

Index of the temp register assigned to this variable.

unsigned asm_symbol::param_is_array

Flag whether or not a PARAM is an array.

unsigned asm_symbol::param_accessed_indirectly

Flag whether or not a PARAM array is accessed indirectly.

unsigned asm_symbol::pass1_done

Is first pass of parameter layout done with this variable?

The parameter layout routine operates in two passes. This flag tracks whether or not the first pass has handled this variable.

See also:
_mesa_layout_parameters


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