p_shader_tokens.h File Reference

Include dependency graph for p_shader_tokens.h:

Go to the source code of this file.

Data Structures

struct  tgsi_version
struct  tgsi_header
struct  tgsi_processor
struct  tgsi_token
struct  tgsi_declaration
struct  tgsi_declaration_range
struct  tgsi_declaration_semantic
struct  tgsi_immediate
struct  tgsi_immediate_float32
struct  tgsi_instruction
struct  tgsi_instruction_ext
struct  tgsi_instruction_ext_nv
struct  tgsi_instruction_ext_label
struct  tgsi_instruction_ext_texture
struct  tgsi_instruction_ext_predicate
struct  tgsi_src_register
struct  tgsi_src_register_ext
struct  tgsi_src_register_ext_swz
struct  tgsi_src_register_ext_mod
 Extra src register modifiers. More...
struct  tgsi_dimension
struct  tgsi_dst_register
struct  tgsi_dst_register_ext
struct  tgsi_dst_register_ext_concode
 Extra destination register modifiers. More...
struct  tgsi_dst_register_ext_modulate
struct  tgsi_dst_register_ext_predicate

Defines

#define TGSI_PROCESSOR_FRAGMENT   0
#define TGSI_PROCESSOR_VERTEX   1
#define TGSI_PROCESSOR_GEOMETRY   2
#define TGSI_TOKEN_TYPE_DECLARATION   0
#define TGSI_TOKEN_TYPE_IMMEDIATE   1
#define TGSI_TOKEN_TYPE_INSTRUCTION   2
#define TGSI_WRITEMASK_NONE   0x00
#define TGSI_WRITEMASK_X   0x01
#define TGSI_WRITEMASK_Y   0x02
#define TGSI_WRITEMASK_XY   0x03
#define TGSI_WRITEMASK_Z   0x04
#define TGSI_WRITEMASK_XZ   0x05
#define TGSI_WRITEMASK_YZ   0x06
#define TGSI_WRITEMASK_XYZ   0x07
#define TGSI_WRITEMASK_W   0x08
#define TGSI_WRITEMASK_XW   0x09
#define TGSI_WRITEMASK_YW   0x0A
#define TGSI_WRITEMASK_XYW   0x0B
#define TGSI_WRITEMASK_ZW   0x0C
#define TGSI_WRITEMASK_XZW   0x0D
#define TGSI_WRITEMASK_YZW   0x0E
#define TGSI_WRITEMASK_XYZW   0x0F
#define TGSI_INTERPOLATE_CONSTANT   0
#define TGSI_INTERPOLATE_LINEAR   1
#define TGSI_INTERPOLATE_PERSPECTIVE   2
#define TGSI_INTERPOLATE_COUNT   3
#define TGSI_SEMANTIC_POSITION   0
#define TGSI_SEMANTIC_COLOR   1
#define TGSI_SEMANTIC_BCOLOR   2
 back-face color
#define TGSI_SEMANTIC_FOG   3
#define TGSI_SEMANTIC_PSIZE   4
#define TGSI_SEMANTIC_GENERIC   5
#define TGSI_SEMANTIC_NORMAL   6
#define TGSI_SEMANTIC_COUNT   7
 number of semantic values
#define TGSI_IMM_FLOAT32   0
#define TGSI_OPCODE_ARL   0
#define TGSI_OPCODE_MOV   1
#define TGSI_OPCODE_LIT   2
#define TGSI_OPCODE_RCP   3
#define TGSI_OPCODE_RSQ   4
#define TGSI_OPCODE_EXP   5
#define TGSI_OPCODE_LOG   6
#define TGSI_OPCODE_MUL   7
#define TGSI_OPCODE_ADD   8
#define TGSI_OPCODE_DP3   9
#define TGSI_OPCODE_DP4   10
#define TGSI_OPCODE_DST   11
#define TGSI_OPCODE_MIN   12
#define TGSI_OPCODE_MAX   13
#define TGSI_OPCODE_SLT   14
#define TGSI_OPCODE_SGE   15
#define TGSI_OPCODE_MAD   16
#define TGSI_OPCODE_SUB   17
#define TGSI_OPCODE_DOT3   TGSI_OPCODE_DP3
#define TGSI_OPCODE_DOT4   TGSI_OPCODE_DP4
#define TGSI_OPCODE_LERP   18
#define TGSI_OPCODE_CND   19
#define TGSI_OPCODE_CND0   20
#define TGSI_OPCODE_DOT2ADD   21
#define TGSI_OPCODE_INDEX   22
#define TGSI_OPCODE_NEGATE   23
#define TGSI_OPCODE_MADD   TGSI_OPCODE_MAD
#define TGSI_OPCODE_FRAC   24
#define TGSI_OPCODE_SETGE   TGSI_OPCODE_SGE
#define TGSI_OPCODE_SETLT   TGSI_OPCODE_SLT
#define TGSI_OPCODE_CLAMP   25
#define TGSI_OPCODE_FLOOR   26
#define TGSI_OPCODE_ROUND   27
#define TGSI_OPCODE_EXPBASE2   28
#define TGSI_OPCODE_LOGBASE2   29
#define TGSI_OPCODE_POWER   30
#define TGSI_OPCODE_RECIP   TGSI_OPCODE_RCP
#define TGSI_OPCODE_RECIPSQRT   TGSI_OPCODE_RSQ
#define TGSI_OPCODE_CROSSPRODUCT   31
#define TGSI_OPCODE_MULTIPLYMATRIX   32
#define TGSI_OPCODE_ABS   33
#define TGSI_OPCODE_RCC   34
#define TGSI_OPCODE_DPH   35
#define TGSI_OPCODE_COS   36
#define TGSI_OPCODE_DDX   37
#define TGSI_OPCODE_DDY   38
#define TGSI_OPCODE_EX2   TGSI_OPCODE_EXPBASE2
#define TGSI_OPCODE_FLR   TGSI_OPCODE_FLOOR
#define TGSI_OPCODE_FRC   TGSI_OPCODE_FRAC
#define TGSI_OPCODE_KILP   39
#define TGSI_OPCODE_LG2   TGSI_OPCODE_LOGBASE2
#define TGSI_OPCODE_LRP   TGSI_OPCODE_LERP
#define TGSI_OPCODE_PK2H   40
#define TGSI_OPCODE_PK2US   41
#define TGSI_OPCODE_PK4B   42
#define TGSI_OPCODE_PK4UB   43
#define TGSI_OPCODE_POW   TGSI_OPCODE_POWER
#define TGSI_OPCODE_RFL   44
#define TGSI_OPCODE_SEQ   45
#define TGSI_OPCODE_SFL   46
#define TGSI_OPCODE_SGT   47
#define TGSI_OPCODE_SIN   48
#define TGSI_OPCODE_SLE   49
#define TGSI_OPCODE_SNE   50
#define TGSI_OPCODE_STR   51
#define TGSI_OPCODE_TEX   52
#define TGSI_OPCODE_TXD   53
#define TGSI_OPCODE_TXP   54
#define TGSI_OPCODE_UP2H   55
#define TGSI_OPCODE_UP2US   56
#define TGSI_OPCODE_UP4B   57
#define TGSI_OPCODE_UP4UB   58
#define TGSI_OPCODE_X2D   59
#define TGSI_OPCODE_ARA   60
#define TGSI_OPCODE_ARR   61
#define TGSI_OPCODE_BRA   62
#define TGSI_OPCODE_CAL   63
#define TGSI_OPCODE_RET   64
#define TGSI_OPCODE_SSG   65
#define TGSI_OPCODE_SWZ   118
#define TGSI_OPCODE_XPD   TGSI_OPCODE_CROSSPRODUCT
#define TGSI_OPCODE_CMP   66
#define TGSI_OPCODE_KIL   116
#define TGSI_OPCODE_SCS   67
#define TGSI_OPCODE_TXB   68
#define TGSI_OPCODE_NRM   69
#define TGSI_OPCODE_DIV   70
#define TGSI_OPCODE_DP2   71
#define TGSI_OPCODE_DP2A   TGSI_OPCODE_DOT2ADD
#define TGSI_OPCODE_TXL   72
#define TGSI_OPCODE_BRK   73
#define TGSI_OPCODE_IF   74
#define TGSI_OPCODE_LOOP   75
#define TGSI_OPCODE_REP   76
#define TGSI_OPCODE_ELSE   77
#define TGSI_OPCODE_ENDIF   78
#define TGSI_OPCODE_ENDLOOP   79
#define TGSI_OPCODE_ENDREP   80
#define TGSI_OPCODE_PUSHA   81
#define TGSI_OPCODE_POPA   82
#define TGSI_OPCODE_CEIL   83
#define TGSI_OPCODE_I2F   84
#define TGSI_OPCODE_NOT   85
#define TGSI_OPCODE_TRUNC   86
#define TGSI_OPCODE_SHL   87
#define TGSI_OPCODE_SHR   88
#define TGSI_OPCODE_AND   89
#define TGSI_OPCODE_OR   90
#define TGSI_OPCODE_MOD   91
#define TGSI_OPCODE_XOR   92
#define TGSI_OPCODE_SAD   93
#define TGSI_OPCODE_TXF   94
#define TGSI_OPCODE_TXQ   95
#define TGSI_OPCODE_CONT   96
#define TGSI_OPCODE_EMIT   97
#define TGSI_OPCODE_ENDPRIM   98
#define TGSI_OPCODE_BGNLOOP2   99
#define TGSI_OPCODE_BGNSUB   100
#define TGSI_OPCODE_ENDLOOP2   101
#define TGSI_OPCODE_ENDSUB   102
#define TGSI_OPCODE_INT   TGSI_OPCODE_TRUNC
#define TGSI_OPCODE_NOISE1   103
#define TGSI_OPCODE_NOISE2   104
#define TGSI_OPCODE_NOISE3   105
#define TGSI_OPCODE_NOISE4   106
#define TGSI_OPCODE_NOP   107
#define TGSI_OPCODE_TEXKILL   TGSI_OPCODE_KIL
#define TGSI_OPCODE_TEXLD   TGSI_OPCODE_TEX
#define TGSI_OPCODE_M4X4   TGSI_OPCODE_MULTIPLYMATRIX
#define TGSI_OPCODE_M4X3   108
#define TGSI_OPCODE_M3X4   109
#define TGSI_OPCODE_M3X3   110
#define TGSI_OPCODE_M3X2   111
#define TGSI_OPCODE_CRS   TGSI_OPCODE_XPD
#define TGSI_OPCODE_NRM4   112
#define TGSI_OPCODE_SINCOS   TGSI_OPCODE_SCS
#define TGSI_OPCODE_TEXLDB   TGSI_OPCODE_TXB
#define TGSI_OPCODE_DP2ADD   TGSI_OPCODE_DP2A
#define TGSI_OPCODE_CALL   TGSI_OPCODE_CAL
#define TGSI_OPCODE_CALLNZ   113
#define TGSI_OPCODE_IFC   114
#define TGSI_OPCODE_BREAK   TGSI_OPCODE_BRK
#define TGSI_OPCODE_BREAKC   115
#define TGSI_OPCODE_DSX   TGSI_OPCODE_DDX
#define TGSI_OPCODE_DSY   TGSI_OPCODE_DDY
#define TGSI_OPCODE_TEXLDD   TGSI_OPCODE_TXD
#define TGSI_OPCODE_EXPP   TGSI_OPCODE_EXP
#define TGSI_OPCODE_LOGP   TGSI_OPCODE_LOG
#define TGSI_OPCODE_SGN   TGSI_OPCODE_SSG
#define TGSI_OPCODE_MOVA   TGSI_OPCODE_ARR
#define TGSI_OPCODE_END   117
#define TGSI_OPCODE_LAST   119
#define TGSI_SAT_NONE   0
#define TGSI_SAT_ZERO_ONE   1
#define TGSI_SAT_MINUS_PLUS_ONE   2
#define TGSI_INSTRUCTION_EXT_TYPE_NV   0
#define TGSI_INSTRUCTION_EXT_TYPE_LABEL   1
#define TGSI_INSTRUCTION_EXT_TYPE_TEXTURE   2
#define TGSI_INSTRUCTION_EXT_TYPE_PREDICATE   3
#define TGSI_PRECISION_DEFAULT   0
#define TGSI_PRECISION_FLOAT32   1
#define TGSI_PRECISION_FLOAT16   2
#define TGSI_PRECISION_FIXED12   3
#define TGSI_CC_GT   0
#define TGSI_CC_EQ   1
#define TGSI_CC_LT   2
#define TGSI_CC_GE   3
#define TGSI_CC_LE   4
#define TGSI_CC_NE   5
#define TGSI_CC_TR   6
#define TGSI_CC_FL   7
#define TGSI_SWIZZLE_X   0
#define TGSI_SWIZZLE_Y   1
#define TGSI_SWIZZLE_Z   2
#define TGSI_SWIZZLE_W   3
#define TGSI_TEXTURE_UNKNOWN   0
#define TGSI_TEXTURE_1D   1
#define TGSI_TEXTURE_2D   2
#define TGSI_TEXTURE_3D   3
#define TGSI_TEXTURE_CUBE   4
#define TGSI_TEXTURE_RECT   5
#define TGSI_TEXTURE_SHADOW1D   6
#define TGSI_TEXTURE_SHADOW2D   7
#define TGSI_TEXTURE_SHADOWRECT   8
#define TGSI_TEXTURE_COUNT   9
#define TGSI_SRC_REGISTER_EXT_TYPE_SWZ   0
#define TGSI_SRC_REGISTER_EXT_TYPE_MOD   1
#define TGSI_EXTSWIZZLE_X   TGSI_SWIZZLE_X
#define TGSI_EXTSWIZZLE_Y   TGSI_SWIZZLE_Y
#define TGSI_EXTSWIZZLE_Z   TGSI_SWIZZLE_Z
#define TGSI_EXTSWIZZLE_W   TGSI_SWIZZLE_W
#define TGSI_EXTSWIZZLE_ZERO   4
#define TGSI_EXTSWIZZLE_ONE   5
#define TGSI_DST_REGISTER_EXT_TYPE_CONDCODE   0
#define TGSI_DST_REGISTER_EXT_TYPE_MODULATE   1
#define TGSI_DST_REGISTER_EXT_TYPE_PREDICATE   2
#define TGSI_MODULATE_1X   0
#define TGSI_MODULATE_2X   1
#define TGSI_MODULATE_4X   2
#define TGSI_MODULATE_8X   3
#define TGSI_MODULATE_HALF   4
#define TGSI_MODULATE_QUARTER   5
#define TGSI_MODULATE_EIGHTH   6
#define TGSI_MODULATE_COUNT   7

Enumerations

enum  tgsi_file_type {
  TGSI_FILE_NULL = 0, TGSI_FILE_CONSTANT = 1, TGSI_FILE_INPUT = 2, TGSI_FILE_OUTPUT = 3,
  TGSI_FILE_TEMPORARY = 4, TGSI_FILE_SAMPLER = 5, TGSI_FILE_ADDRESS = 6, TGSI_FILE_IMMEDIATE = 7,
  TGSI_FILE_LOOP = 8, TGSI_FILE_COUNT
}


Define Documentation

#define TGSI_CC_EQ   1

Definition at line 474 of file p_shader_tokens.h.

#define TGSI_CC_FL   7

Definition at line 480 of file p_shader_tokens.h.

#define TGSI_CC_GE   3

Definition at line 476 of file p_shader_tokens.h.

#define TGSI_CC_GT   0

Definition at line 473 of file p_shader_tokens.h.

#define TGSI_CC_LE   4

Definition at line 477 of file p_shader_tokens.h.

#define TGSI_CC_LT   2

Definition at line 475 of file p_shader_tokens.h.

#define TGSI_CC_NE   5

Definition at line 478 of file p_shader_tokens.h.

#define TGSI_CC_TR   6

Definition at line 479 of file p_shader_tokens.h.

#define TGSI_DST_REGISTER_EXT_TYPE_CONDCODE   0

Definition at line 703 of file p_shader_tokens.h.

#define TGSI_DST_REGISTER_EXT_TYPE_MODULATE   1

Definition at line 704 of file p_shader_tokens.h.

#define TGSI_DST_REGISTER_EXT_TYPE_PREDICATE   2

Definition at line 705 of file p_shader_tokens.h.

#define TGSI_EXTSWIZZLE_ONE   5

Definition at line 621 of file p_shader_tokens.h.

#define TGSI_EXTSWIZZLE_W   TGSI_SWIZZLE_W

Definition at line 619 of file p_shader_tokens.h.

#define TGSI_EXTSWIZZLE_X   TGSI_SWIZZLE_X

Definition at line 616 of file p_shader_tokens.h.

#define TGSI_EXTSWIZZLE_Y   TGSI_SWIZZLE_Y

Definition at line 617 of file p_shader_tokens.h.

#define TGSI_EXTSWIZZLE_Z   TGSI_SWIZZLE_Z

Definition at line 618 of file p_shader_tokens.h.

#define TGSI_EXTSWIZZLE_ZERO   4

Definition at line 620 of file p_shader_tokens.h.

#define TGSI_IMM_FLOAT32   0

Definition at line 117 of file p_shader_tokens.h.

#define TGSI_INSTRUCTION_EXT_TYPE_LABEL   1

Definition at line 440 of file p_shader_tokens.h.

#define TGSI_INSTRUCTION_EXT_TYPE_NV   0

Definition at line 439 of file p_shader_tokens.h.

#define TGSI_INSTRUCTION_EXT_TYPE_PREDICATE   3

Definition at line 442 of file p_shader_tokens.h.

#define TGSI_INSTRUCTION_EXT_TYPE_TEXTURE   2

Definition at line 441 of file p_shader_tokens.h.

#define TGSI_INTERPOLATE_CONSTANT   0

Definition at line 76 of file p_shader_tokens.h.

#define TGSI_INTERPOLATE_COUNT   3

Definition at line 79 of file p_shader_tokens.h.

#define TGSI_INTERPOLATE_LINEAR   1

Definition at line 77 of file p_shader_tokens.h.

#define TGSI_INTERPOLATE_PERSPECTIVE   2

Definition at line 78 of file p_shader_tokens.h.

#define TGSI_MODULATE_1X   0

Definition at line 742 of file p_shader_tokens.h.

#define TGSI_MODULATE_2X   1

Definition at line 743 of file p_shader_tokens.h.

#define TGSI_MODULATE_4X   2

Definition at line 744 of file p_shader_tokens.h.

#define TGSI_MODULATE_8X   3

Definition at line 745 of file p_shader_tokens.h.

#define TGSI_MODULATE_COUNT   7

Definition at line 749 of file p_shader_tokens.h.

#define TGSI_MODULATE_EIGHTH   6

Definition at line 748 of file p_shader_tokens.h.

#define TGSI_MODULATE_HALF   4

Definition at line 746 of file p_shader_tokens.h.

#define TGSI_MODULATE_QUARTER   5

Definition at line 747 of file p_shader_tokens.h.

#define TGSI_OPCODE_ABS   33

Definition at line 188 of file p_shader_tokens.h.

#define TGSI_OPCODE_ADD   8

Definition at line 144 of file p_shader_tokens.h.

#define TGSI_OPCODE_AND   89

Definition at line 291 of file p_shader_tokens.h.

#define TGSI_OPCODE_ARA   60

Definition at line 229 of file p_shader_tokens.h.

#define TGSI_OPCODE_ARL   0

Definition at line 136 of file p_shader_tokens.h.

#define TGSI_OPCODE_ARR   61

Definition at line 230 of file p_shader_tokens.h.

#define TGSI_OPCODE_BGNLOOP2   99

Definition at line 320 of file p_shader_tokens.h.

#define TGSI_OPCODE_BGNSUB   100

Definition at line 321 of file p_shader_tokens.h.

#define TGSI_OPCODE_BRA   62

Definition at line 231 of file p_shader_tokens.h.

#define TGSI_OPCODE_BREAK   TGSI_OPCODE_BRK

Definition at line 371 of file p_shader_tokens.h.

#define TGSI_OPCODE_BREAKC   115

Definition at line 372 of file p_shader_tokens.h.

#define TGSI_OPCODE_BRK   73

Definition at line 263 of file p_shader_tokens.h.

#define TGSI_OPCODE_CAL   63

Definition at line 232 of file p_shader_tokens.h.

#define TGSI_OPCODE_CALL   TGSI_OPCODE_CAL

Definition at line 368 of file p_shader_tokens.h.

#define TGSI_OPCODE_CALLNZ   113

Definition at line 369 of file p_shader_tokens.h.

#define TGSI_OPCODE_CEIL   83

Definition at line 285 of file p_shader_tokens.h.

#define TGSI_OPCODE_CLAMP   25

Definition at line 174 of file p_shader_tokens.h.

#define TGSI_OPCODE_CMP   66

Definition at line 245 of file p_shader_tokens.h.

#define TGSI_OPCODE_CND   19

Definition at line 161 of file p_shader_tokens.h.

#define TGSI_OPCODE_CND0   20

Definition at line 162 of file p_shader_tokens.h.

#define TGSI_OPCODE_CONT   96

Definition at line 298 of file p_shader_tokens.h.

#define TGSI_OPCODE_COS   36

Definition at line 195 of file p_shader_tokens.h.

#define TGSI_OPCODE_CROSSPRODUCT   31

Definition at line 182 of file p_shader_tokens.h.

#define TGSI_OPCODE_CRS   TGSI_OPCODE_XPD

Definition at line 359 of file p_shader_tokens.h.

#define TGSI_OPCODE_DDX   37

Definition at line 196 of file p_shader_tokens.h.

#define TGSI_OPCODE_DDY   38

Definition at line 197 of file p_shader_tokens.h.

#define TGSI_OPCODE_DIV   70

Definition at line 259 of file p_shader_tokens.h.

#define TGSI_OPCODE_DOT2ADD   21

Definition at line 163 of file p_shader_tokens.h.

#define TGSI_OPCODE_DOT3   TGSI_OPCODE_DP3

Definition at line 158 of file p_shader_tokens.h.

#define TGSI_OPCODE_DOT4   TGSI_OPCODE_DP4

Definition at line 159 of file p_shader_tokens.h.

#define TGSI_OPCODE_DP2   71

Definition at line 260 of file p_shader_tokens.h.

#define TGSI_OPCODE_DP2A   TGSI_OPCODE_DOT2ADD

Definition at line 261 of file p_shader_tokens.h.

#define TGSI_OPCODE_DP2ADD   TGSI_OPCODE_DP2A

Definition at line 363 of file p_shader_tokens.h.

#define TGSI_OPCODE_DP3   9

Definition at line 145 of file p_shader_tokens.h.

#define TGSI_OPCODE_DP4   10

Definition at line 146 of file p_shader_tokens.h.

#define TGSI_OPCODE_DPH   35

Definition at line 190 of file p_shader_tokens.h.

#define TGSI_OPCODE_DST   11

Definition at line 147 of file p_shader_tokens.h.

#define TGSI_OPCODE_DSX   TGSI_OPCODE_DDX

Definition at line 373 of file p_shader_tokens.h.

#define TGSI_OPCODE_DSY   TGSI_OPCODE_DDY

Definition at line 374 of file p_shader_tokens.h.

#define TGSI_OPCODE_ELSE   77

Definition at line 267 of file p_shader_tokens.h.

#define TGSI_OPCODE_EMIT   97

Definition at line 314 of file p_shader_tokens.h.

#define TGSI_OPCODE_END   117

Definition at line 394 of file p_shader_tokens.h.

#define TGSI_OPCODE_ENDIF   78

Definition at line 268 of file p_shader_tokens.h.

#define TGSI_OPCODE_ENDLOOP   79

Definition at line 269 of file p_shader_tokens.h.

#define TGSI_OPCODE_ENDLOOP2   101

Definition at line 322 of file p_shader_tokens.h.

#define TGSI_OPCODE_ENDPRIM   98

Definition at line 315 of file p_shader_tokens.h.

#define TGSI_OPCODE_ENDREP   80

Definition at line 270 of file p_shader_tokens.h.

#define TGSI_OPCODE_ENDSUB   102

Definition at line 323 of file p_shader_tokens.h.

#define TGSI_OPCODE_EX2   TGSI_OPCODE_EXPBASE2

Definition at line 198 of file p_shader_tokens.h.

#define TGSI_OPCODE_EXP   5

Definition at line 141 of file p_shader_tokens.h.

#define TGSI_OPCODE_EXPBASE2   28

Definition at line 177 of file p_shader_tokens.h.

#define TGSI_OPCODE_EXPP   TGSI_OPCODE_EXP

Definition at line 380 of file p_shader_tokens.h.

#define TGSI_OPCODE_FLOOR   26

Definition at line 175 of file p_shader_tokens.h.

#define TGSI_OPCODE_FLR   TGSI_OPCODE_FLOOR

Definition at line 199 of file p_shader_tokens.h.

#define TGSI_OPCODE_FRAC   24

Definition at line 171 of file p_shader_tokens.h.

#define TGSI_OPCODE_FRC   TGSI_OPCODE_FRAC

Definition at line 200 of file p_shader_tokens.h.

#define TGSI_OPCODE_I2F   84

Definition at line 286 of file p_shader_tokens.h.

#define TGSI_OPCODE_IF   74

Definition at line 264 of file p_shader_tokens.h.

#define TGSI_OPCODE_IFC   114

Definition at line 370 of file p_shader_tokens.h.

#define TGSI_OPCODE_INDEX   22

Definition at line 168 of file p_shader_tokens.h.

#define TGSI_OPCODE_INT   TGSI_OPCODE_TRUNC

Definition at line 324 of file p_shader_tokens.h.

#define TGSI_OPCODE_KIL   116

Definition at line 246 of file p_shader_tokens.h.

#define TGSI_OPCODE_KILP   39

Definition at line 201 of file p_shader_tokens.h.

#define TGSI_OPCODE_LAST   119

Definition at line 396 of file p_shader_tokens.h.

#define TGSI_OPCODE_LERP   18

Definition at line 160 of file p_shader_tokens.h.

#define TGSI_OPCODE_LG2   TGSI_OPCODE_LOGBASE2

Definition at line 202 of file p_shader_tokens.h.

#define TGSI_OPCODE_LIT   2

Definition at line 138 of file p_shader_tokens.h.

#define TGSI_OPCODE_LOG   6

Definition at line 142 of file p_shader_tokens.h.

#define TGSI_OPCODE_LOGBASE2   29

Definition at line 178 of file p_shader_tokens.h.

#define TGSI_OPCODE_LOGP   TGSI_OPCODE_LOG

Definition at line 381 of file p_shader_tokens.h.

#define TGSI_OPCODE_LOOP   75

Definition at line 265 of file p_shader_tokens.h.

#define TGSI_OPCODE_LRP   TGSI_OPCODE_LERP

Definition at line 203 of file p_shader_tokens.h.

#define TGSI_OPCODE_M3X2   111

Definition at line 358 of file p_shader_tokens.h.

#define TGSI_OPCODE_M3X3   110

Definition at line 357 of file p_shader_tokens.h.

#define TGSI_OPCODE_M3X4   109

Definition at line 356 of file p_shader_tokens.h.

#define TGSI_OPCODE_M4X3   108

Definition at line 355 of file p_shader_tokens.h.

#define TGSI_OPCODE_M4X4   TGSI_OPCODE_MULTIPLYMATRIX

Definition at line 354 of file p_shader_tokens.h.

#define TGSI_OPCODE_MAD   16

Definition at line 152 of file p_shader_tokens.h.

#define TGSI_OPCODE_MADD   TGSI_OPCODE_MAD

Definition at line 170 of file p_shader_tokens.h.

#define TGSI_OPCODE_MAX   13

Definition at line 149 of file p_shader_tokens.h.

#define TGSI_OPCODE_MIN   12

Definition at line 148 of file p_shader_tokens.h.

#define TGSI_OPCODE_MOD   91

Definition at line 293 of file p_shader_tokens.h.

#define TGSI_OPCODE_MOV   1

Definition at line 137 of file p_shader_tokens.h.

#define TGSI_OPCODE_MOVA   TGSI_OPCODE_ARR

Definition at line 387 of file p_shader_tokens.h.

#define TGSI_OPCODE_MUL   7

Definition at line 143 of file p_shader_tokens.h.

#define TGSI_OPCODE_MULTIPLYMATRIX   32

Definition at line 183 of file p_shader_tokens.h.

#define TGSI_OPCODE_NEGATE   23

Definition at line 169 of file p_shader_tokens.h.

#define TGSI_OPCODE_NOISE1   103

Definition at line 325 of file p_shader_tokens.h.

#define TGSI_OPCODE_NOISE2   104

Definition at line 326 of file p_shader_tokens.h.

#define TGSI_OPCODE_NOISE3   105

Definition at line 327 of file p_shader_tokens.h.

#define TGSI_OPCODE_NOISE4   106

Definition at line 328 of file p_shader_tokens.h.

#define TGSI_OPCODE_NOP   107

Definition at line 329 of file p_shader_tokens.h.

#define TGSI_OPCODE_NOT   85

Definition at line 287 of file p_shader_tokens.h.

#define TGSI_OPCODE_NRM   69

Definition at line 258 of file p_shader_tokens.h.

#define TGSI_OPCODE_NRM4   112

Definition at line 360 of file p_shader_tokens.h.

#define TGSI_OPCODE_OR   90

Definition at line 292 of file p_shader_tokens.h.

#define TGSI_OPCODE_PK2H   40

Definition at line 204 of file p_shader_tokens.h.

#define TGSI_OPCODE_PK2US   41

Definition at line 205 of file p_shader_tokens.h.

#define TGSI_OPCODE_PK4B   42

Definition at line 206 of file p_shader_tokens.h.

#define TGSI_OPCODE_PK4UB   43

Definition at line 207 of file p_shader_tokens.h.

#define TGSI_OPCODE_POPA   82

Definition at line 280 of file p_shader_tokens.h.

#define TGSI_OPCODE_POW   TGSI_OPCODE_POWER

Definition at line 208 of file p_shader_tokens.h.

#define TGSI_OPCODE_POWER   30

Definition at line 179 of file p_shader_tokens.h.

#define TGSI_OPCODE_PUSHA   81

Definition at line 279 of file p_shader_tokens.h.

#define TGSI_OPCODE_RCC   34

Definition at line 189 of file p_shader_tokens.h.

#define TGSI_OPCODE_RCP   3

Definition at line 139 of file p_shader_tokens.h.

#define TGSI_OPCODE_RECIP   TGSI_OPCODE_RCP

Definition at line 180 of file p_shader_tokens.h.

#define TGSI_OPCODE_RECIPSQRT   TGSI_OPCODE_RSQ

Definition at line 181 of file p_shader_tokens.h.

#define TGSI_OPCODE_REP   76

Definition at line 266 of file p_shader_tokens.h.

#define TGSI_OPCODE_RET   64

Definition at line 233 of file p_shader_tokens.h.

#define TGSI_OPCODE_RFL   44

Definition at line 209 of file p_shader_tokens.h.

#define TGSI_OPCODE_ROUND   27

Definition at line 176 of file p_shader_tokens.h.

#define TGSI_OPCODE_RSQ   4

Definition at line 140 of file p_shader_tokens.h.

#define TGSI_OPCODE_SAD   93

Definition at line 295 of file p_shader_tokens.h.

#define TGSI_OPCODE_SCS   67

Definition at line 247 of file p_shader_tokens.h.

#define TGSI_OPCODE_SEQ   45

Definition at line 210 of file p_shader_tokens.h.

#define TGSI_OPCODE_SETGE   TGSI_OPCODE_SGE

Definition at line 172 of file p_shader_tokens.h.

#define TGSI_OPCODE_SETLT   TGSI_OPCODE_SLT

Definition at line 173 of file p_shader_tokens.h.

#define TGSI_OPCODE_SFL   46

Definition at line 211 of file p_shader_tokens.h.

#define TGSI_OPCODE_SGE   15

Definition at line 151 of file p_shader_tokens.h.

#define TGSI_OPCODE_SGN   TGSI_OPCODE_SSG

Definition at line 386 of file p_shader_tokens.h.

#define TGSI_OPCODE_SGT   47

Definition at line 212 of file p_shader_tokens.h.

#define TGSI_OPCODE_SHL   87

Definition at line 289 of file p_shader_tokens.h.

#define TGSI_OPCODE_SHR   88

Definition at line 290 of file p_shader_tokens.h.

#define TGSI_OPCODE_SIN   48

Definition at line 213 of file p_shader_tokens.h.

#define TGSI_OPCODE_SINCOS   TGSI_OPCODE_SCS

Definition at line 361 of file p_shader_tokens.h.

#define TGSI_OPCODE_SLE   49

Definition at line 214 of file p_shader_tokens.h.

#define TGSI_OPCODE_SLT   14

Definition at line 150 of file p_shader_tokens.h.

#define TGSI_OPCODE_SNE   50

Definition at line 215 of file p_shader_tokens.h.

#define TGSI_OPCODE_SSG   65

Definition at line 234 of file p_shader_tokens.h.

#define TGSI_OPCODE_STR   51

Definition at line 216 of file p_shader_tokens.h.

#define TGSI_OPCODE_SUB   17

Definition at line 157 of file p_shader_tokens.h.

#define TGSI_OPCODE_SWZ   118

Definition at line 239 of file p_shader_tokens.h.

#define TGSI_OPCODE_TEX   52

Definition at line 217 of file p_shader_tokens.h.

#define TGSI_OPCODE_TEXKILL   TGSI_OPCODE_KIL

Definition at line 334 of file p_shader_tokens.h.

#define TGSI_OPCODE_TEXLD   TGSI_OPCODE_TEX

Definition at line 349 of file p_shader_tokens.h.

#define TGSI_OPCODE_TEXLDB   TGSI_OPCODE_TXB

Definition at line 362 of file p_shader_tokens.h.

#define TGSI_OPCODE_TEXLDD   TGSI_OPCODE_TXD

Definition at line 375 of file p_shader_tokens.h.

#define TGSI_OPCODE_TRUNC   86

Definition at line 288 of file p_shader_tokens.h.

#define TGSI_OPCODE_TXB   68

Definition at line 248 of file p_shader_tokens.h.

#define TGSI_OPCODE_TXD   53

Definition at line 218 of file p_shader_tokens.h.

#define TGSI_OPCODE_TXF   94

Definition at line 296 of file p_shader_tokens.h.

#define TGSI_OPCODE_TXL   72

Definition at line 262 of file p_shader_tokens.h.

#define TGSI_OPCODE_TXP   54

Definition at line 219 of file p_shader_tokens.h.

#define TGSI_OPCODE_TXQ   95

Definition at line 297 of file p_shader_tokens.h.

#define TGSI_OPCODE_UP2H   55

Definition at line 220 of file p_shader_tokens.h.

#define TGSI_OPCODE_UP2US   56

Definition at line 221 of file p_shader_tokens.h.

#define TGSI_OPCODE_UP4B   57

Definition at line 222 of file p_shader_tokens.h.

#define TGSI_OPCODE_UP4UB   58

Definition at line 223 of file p_shader_tokens.h.

#define TGSI_OPCODE_X2D   59

Definition at line 224 of file p_shader_tokens.h.

#define TGSI_OPCODE_XOR   92

Definition at line 294 of file p_shader_tokens.h.

#define TGSI_OPCODE_XPD   TGSI_OPCODE_CROSSPRODUCT

Definition at line 240 of file p_shader_tokens.h.

#define TGSI_PRECISION_DEFAULT   0

Definition at line 468 of file p_shader_tokens.h.

#define TGSI_PRECISION_FIXED12   3

Definition at line 471 of file p_shader_tokens.h.

#define TGSI_PRECISION_FLOAT16   2

Definition at line 470 of file p_shader_tokens.h.

#define TGSI_PRECISION_FLOAT32   1

Definition at line 469 of file p_shader_tokens.h.

#define TGSI_PROCESSOR_FRAGMENT   0

Definition at line 23 of file p_shader_tokens.h.

#define TGSI_PROCESSOR_GEOMETRY   2

Definition at line 25 of file p_shader_tokens.h.

#define TGSI_PROCESSOR_VERTEX   1

Definition at line 24 of file p_shader_tokens.h.

#define TGSI_SAT_MINUS_PLUS_ONE   2

Definition at line 400 of file p_shader_tokens.h.

#define TGSI_SAT_NONE   0

Definition at line 398 of file p_shader_tokens.h.

#define TGSI_SAT_ZERO_ONE   1

Definition at line 399 of file p_shader_tokens.h.

#define TGSI_SEMANTIC_BCOLOR   2

back-face color

Definition at line 103 of file p_shader_tokens.h.

#define TGSI_SEMANTIC_COLOR   1

Definition at line 102 of file p_shader_tokens.h.

#define TGSI_SEMANTIC_COUNT   7

number of semantic values

Definition at line 108 of file p_shader_tokens.h.

#define TGSI_SEMANTIC_FOG   3

Definition at line 104 of file p_shader_tokens.h.

#define TGSI_SEMANTIC_GENERIC   5

Definition at line 106 of file p_shader_tokens.h.

#define TGSI_SEMANTIC_NORMAL   6

Definition at line 107 of file p_shader_tokens.h.

#define TGSI_SEMANTIC_POSITION   0

Definition at line 101 of file p_shader_tokens.h.

#define TGSI_SEMANTIC_PSIZE   4

Definition at line 105 of file p_shader_tokens.h.

#define TGSI_SRC_REGISTER_EXT_TYPE_MOD   1

Definition at line 596 of file p_shader_tokens.h.

#define TGSI_SRC_REGISTER_EXT_TYPE_SWZ   0

Definition at line 595 of file p_shader_tokens.h.

#define TGSI_SWIZZLE_W   3

Definition at line 485 of file p_shader_tokens.h.

#define TGSI_SWIZZLE_X   0

Definition at line 482 of file p_shader_tokens.h.

#define TGSI_SWIZZLE_Y   1

Definition at line 483 of file p_shader_tokens.h.

#define TGSI_SWIZZLE_Z   2

Definition at line 484 of file p_shader_tokens.h.

#define TGSI_TEXTURE_1D   1

Definition at line 527 of file p_shader_tokens.h.

#define TGSI_TEXTURE_2D   2

Definition at line 528 of file p_shader_tokens.h.

#define TGSI_TEXTURE_3D   3

Definition at line 529 of file p_shader_tokens.h.

#define TGSI_TEXTURE_COUNT   9

Definition at line 535 of file p_shader_tokens.h.

#define TGSI_TEXTURE_CUBE   4

Definition at line 530 of file p_shader_tokens.h.

#define TGSI_TEXTURE_RECT   5

Definition at line 531 of file p_shader_tokens.h.

#define TGSI_TEXTURE_SHADOW1D   6

Definition at line 532 of file p_shader_tokens.h.

#define TGSI_TEXTURE_SHADOW2D   7

Definition at line 533 of file p_shader_tokens.h.

#define TGSI_TEXTURE_SHADOWRECT   8

Definition at line 534 of file p_shader_tokens.h.

#define TGSI_TEXTURE_UNKNOWN   0

Definition at line 526 of file p_shader_tokens.h.

#define TGSI_TOKEN_TYPE_DECLARATION   0

Definition at line 33 of file p_shader_tokens.h.

#define TGSI_TOKEN_TYPE_IMMEDIATE   1

Definition at line 34 of file p_shader_tokens.h.

#define TGSI_TOKEN_TYPE_INSTRUCTION   2

Definition at line 35 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_NONE   0x00

Definition at line 59 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_W   0x08

Definition at line 67 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_X   0x01

Definition at line 60 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_XW   0x09

Definition at line 68 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_XY   0x03

Definition at line 62 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_XYW   0x0B

Definition at line 70 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_XYZ   0x07

Definition at line 66 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_XYZW   0x0F

Definition at line 74 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_XZ   0x05

Definition at line 64 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_XZW   0x0D

Definition at line 72 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_Y   0x02

Definition at line 61 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_YW   0x0A

Definition at line 69 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_YZ   0x06

Definition at line 65 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_YZW   0x0E

Definition at line 73 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_Z   0x04

Definition at line 63 of file p_shader_tokens.h.

#define TGSI_WRITEMASK_ZW   0x0C

Definition at line 71 of file p_shader_tokens.h.


Enumeration Type Documentation

enum tgsi_file_type

Enumerator:
TGSI_FILE_NULL 
TGSI_FILE_CONSTANT 
TGSI_FILE_INPUT 
TGSI_FILE_OUTPUT 
TGSI_FILE_TEMPORARY 
TGSI_FILE_SAMPLER 
TGSI_FILE_ADDRESS 
TGSI_FILE_IMMEDIATE 
TGSI_FILE_LOOP 
TGSI_FILE_COUNT  how many TGSI_FILE_ types

Definition at line 45 of file p_shader_tokens.h.

00045                     {
00046    TGSI_FILE_NULL        =0,
00047    TGSI_FILE_CONSTANT    =1,
00048    TGSI_FILE_INPUT       =2,
00049    TGSI_FILE_OUTPUT      =3,
00050    TGSI_FILE_TEMPORARY   =4,
00051    TGSI_FILE_SAMPLER     =5,
00052    TGSI_FILE_ADDRESS     =6,
00053    TGSI_FILE_IMMEDIATE   =7,
00054    TGSI_FILE_LOOP        =8,
00055    TGSI_FILE_COUNT      
00056 };


Generated on Tue Sep 29 06:25:44 2009 for Gallium3D by  doxygen 1.5.4