tgsi_exec_machine Struct Reference

Run-time virtual machine state for executing TGSI shader. More...

Collaboration diagram for tgsi_exec_machine:

Collaboration graph
[legend]

Data Fields

struct tgsi_exec_vector _Temps [128+6+1]
struct tgsi_exec_vectorTemps
struct tgsi_exec_vectorAddrs
struct tgsi_samplerSamplers
float Imms [256][4]
unsigned ImmLimit
const float(* Consts )[4]
struct tgsi_exec_vectorInputs
struct tgsi_exec_vectorOutputs
struct tgsi_tokenTokens
unsigned Processor
unsigned * Primitives
struct tgsi_interp_coefInterpCoefs
struct tgsi_exec_vector QuadPos
uint CondMask
 For IF/ELSE/ENDIF.
uint LoopMask
 For BGNLOOP/ENDLOOP.
uint ContMask
 For loop CONT statements.
uint FuncMask
 For function calls.
uint ExecMask
 = CondMask & LoopMask
uint CondStack [20]
 Condition mask stack (for nested conditionals).
int CondStackTop
uint LoopStack [20]
 Loop mask stack (for nested loops).
int LoopStackTop
uint LoopLabelStack [20]
 Loop label stack.
int LoopLabelStackTop
struct tgsi_exec_vector LoopCounterStack [20]
 Loop counter stack (x = count, y = current, z = step).
int LoopCounterStackTop
uint ContStack [20]
 Loop continue mask stack (see comments in tgsi_exec.c).
int ContStackTop
uint FuncStack [20]
 Function execution mask stack (for executing subroutine code).
int FuncStackTop
struct tgsi_call_record CallStack [20]
 Function call stack for saving/restoring the program counter.
int CallStackTop
struct tgsi_full_instructionInstructions
uint NumInstructions
struct tgsi_full_declarationDeclarations
uint NumDeclarations
struct tgsi_exec_labels Labels

Detailed Description

Run-time virtual machine state for executing TGSI shader.

Definition at line 195 of file tgsi_exec.h.


Field Documentation

struct tgsi_exec_vector tgsi_exec_machine::_Temps[128+6+1] [read]

Definition at line 200 of file tgsi_exec.h.

struct tgsi_exec_vector* tgsi_exec_machine::Temps [read]

Definition at line 206 of file tgsi_exec.h.

struct tgsi_exec_vector* tgsi_exec_machine::Addrs [read]

Definition at line 207 of file tgsi_exec.h.

struct tgsi_sampler* tgsi_exec_machine::Samplers [read]

Definition at line 209 of file tgsi_exec.h.

float tgsi_exec_machine::Imms[256][4]

Definition at line 211 of file tgsi_exec.h.

unsigned tgsi_exec_machine::ImmLimit

Definition at line 212 of file tgsi_exec.h.

const float(* tgsi_exec_machine::Consts)[4]

Definition at line 213 of file tgsi_exec.h.

struct tgsi_exec_vector* tgsi_exec_machine::Inputs [read]

Definition at line 214 of file tgsi_exec.h.

struct tgsi_exec_vector* tgsi_exec_machine::Outputs [read]

Definition at line 215 of file tgsi_exec.h.

struct tgsi_token* tgsi_exec_machine::Tokens [read]

Definition at line 216 of file tgsi_exec.h.

unsigned tgsi_exec_machine::Processor

Definition at line 217 of file tgsi_exec.h.

unsigned* tgsi_exec_machine::Primitives

Definition at line 220 of file tgsi_exec.h.

struct tgsi_interp_coef* tgsi_exec_machine::InterpCoefs [read]

Definition at line 223 of file tgsi_exec.h.

struct tgsi_exec_vector tgsi_exec_machine::QuadPos [read]

Definition at line 224 of file tgsi_exec.h.

uint tgsi_exec_machine::CondMask

For IF/ELSE/ENDIF.

Definition at line 227 of file tgsi_exec.h.

uint tgsi_exec_machine::LoopMask

For BGNLOOP/ENDLOOP.

Definition at line 228 of file tgsi_exec.h.

uint tgsi_exec_machine::ContMask

For loop CONT statements.

Definition at line 229 of file tgsi_exec.h.

uint tgsi_exec_machine::FuncMask

For function calls.

Definition at line 230 of file tgsi_exec.h.

uint tgsi_exec_machine::ExecMask

= CondMask & LoopMask

Definition at line 231 of file tgsi_exec.h.

uint tgsi_exec_machine::CondStack[20]

Condition mask stack (for nested conditionals).

Definition at line 234 of file tgsi_exec.h.

int tgsi_exec_machine::CondStackTop

Definition at line 235 of file tgsi_exec.h.

uint tgsi_exec_machine::LoopStack[20]

Loop mask stack (for nested loops).

Definition at line 238 of file tgsi_exec.h.

int tgsi_exec_machine::LoopStackTop

Definition at line 239 of file tgsi_exec.h.

uint tgsi_exec_machine::LoopLabelStack[20]

Loop label stack.

Definition at line 242 of file tgsi_exec.h.

int tgsi_exec_machine::LoopLabelStackTop

Definition at line 243 of file tgsi_exec.h.

struct tgsi_exec_vector tgsi_exec_machine::LoopCounterStack[20] [read]

Loop counter stack (x = count, y = current, z = step).

Definition at line 246 of file tgsi_exec.h.

int tgsi_exec_machine::LoopCounterStackTop

Definition at line 247 of file tgsi_exec.h.

uint tgsi_exec_machine::ContStack[20]

Loop continue mask stack (see comments in tgsi_exec.c).

Definition at line 250 of file tgsi_exec.h.

int tgsi_exec_machine::ContStackTop

Definition at line 251 of file tgsi_exec.h.

uint tgsi_exec_machine::FuncStack[20]

Function execution mask stack (for executing subroutine code).

Definition at line 254 of file tgsi_exec.h.

int tgsi_exec_machine::FuncStackTop

Definition at line 255 of file tgsi_exec.h.

struct tgsi_call_record tgsi_exec_machine::CallStack[20] [read]

Function call stack for saving/restoring the program counter.

Definition at line 258 of file tgsi_exec.h.

int tgsi_exec_machine::CallStackTop

Definition at line 259 of file tgsi_exec.h.

struct tgsi_full_instruction* tgsi_exec_machine::Instructions [read]

Definition at line 261 of file tgsi_exec.h.

uint tgsi_exec_machine::NumInstructions

Definition at line 262 of file tgsi_exec.h.

struct tgsi_full_declaration* tgsi_exec_machine::Declarations [read]

Definition at line 264 of file tgsi_exec.h.

uint tgsi_exec_machine::NumDeclarations

Definition at line 265 of file tgsi_exec.h.

struct tgsi_exec_labels tgsi_exec_machine::Labels [read]

Definition at line 267 of file tgsi_exec.h.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 29 06:26:06 2009 for Gallium3D by  doxygen 1.5.4