spu_global Struct Reference

All SPU global/context state will be in a singleton object of this type:. More...

Collaboration diagram for spu_global:

Collaboration graph
[legend]

Data Fields

struct cell_init_info init
 One-time init/constant info.
struct spu_framebuffer fb
struct
pipe_depth_stencil_alpha_state 
depth_stencil_alpha
struct pipe_blend_state blend
struct pipe_sampler_state sampler [PIPE_MAX_SAMPLERS]
struct spu_texture texture [PIPE_MAX_SAMPLERS]
struct vertex_info vertex_info
tile_t ctile ALIGN16_ATTRIB
 Current color and Z tiles.
tile_t ztile ALIGN16_ATTRIB
boolean read_depth
 Read depth/stencil tiles?
boolean read_stencil
ubyte cur_ctile_status
 Current tiles' status.
ubyte cur_ztile_status
ubyte ctile_status[1024/TILE_SIZE][1024/TILE_SIZE] ALIGN16_ATTRIB
 Status of all tiles in framebuffer.
ubyte ztile_status[1024/TILE_SIZE][1024/TILE_SIZE] ALIGN16_ATTRIB
uint fragment_ops_code [SPU_MAX_FRAGMENT_OPS_INSTS]
 Current fragment ops machine code.
spu_fragment_ops_func fragment_ops
 Current fragment ops function.
uint fragment_program_code [SPU_MAX_FRAGMENT_PROGRAM_INSTS]
 Current fragment program machine code.
spu_fragment_program_func fragment_program
 Current fragment ops function.
spu_sample_texture_func sample_texture [CELL_MAX_SAMPLERS]
 Current texture sampler function.
vector float constants [32]

Detailed Description

All SPU global/context state will be in a singleton object of this type:.

Definition at line 116 of file spu_main.h.


Field Documentation

struct cell_init_info spu_global::init [read]

One-time init/constant info.

Definition at line 119 of file spu_main.h.

struct spu_framebuffer spu_global::fb [read]

Definition at line 124 of file spu_main.h.

struct pipe_depth_stencil_alpha_state spu_global::depth_stencil_alpha [read]

Definition at line 125 of file spu_main.h.

struct pipe_blend_state spu_global::blend [read]

Definition at line 126 of file spu_main.h.

struct pipe_sampler_state spu_global::sampler[PIPE_MAX_SAMPLERS] [read]

Definition at line 127 of file spu_main.h.

struct spu_texture spu_global::texture[PIPE_MAX_SAMPLERS] [read]

Definition at line 128 of file spu_main.h.

struct vertex_info spu_global::vertex_info [read]

Definition at line 129 of file spu_main.h.

tile_t ctile spu_global::ALIGN16_ATTRIB

Current color and Z tiles.

Definition at line 132 of file spu_main.h.

tile_t ztile spu_global::ALIGN16_ATTRIB

Definition at line 133 of file spu_main.h.

boolean spu_global::read_depth

Read depth/stencil tiles?

Definition at line 136 of file spu_main.h.

boolean spu_global::read_stencil

Definition at line 137 of file spu_main.h.

ubyte spu_global::cur_ctile_status

Current tiles' status.

Definition at line 140 of file spu_main.h.

ubyte spu_global::cur_ztile_status

Definition at line 140 of file spu_main.h.

ubyte ctile_status [ 1024 /TILE_SIZE][ 1024 /TILE_SIZE] spu_global::ALIGN16_ATTRIB

Status of all tiles in framebuffer.

Definition at line 143 of file spu_main.h.

ubyte ztile_status [ 1024 /TILE_SIZE][ 1024 /TILE_SIZE] spu_global::ALIGN16_ATTRIB

Definition at line 144 of file spu_main.h.

uint spu_global::fragment_ops_code[SPU_MAX_FRAGMENT_OPS_INSTS]

Current fragment ops machine code.

Definition at line 147 of file spu_main.h.

spu_fragment_ops_func spu_global::fragment_ops

Current fragment ops function.

Definition at line 149 of file spu_main.h.

uint spu_global::fragment_program_code[SPU_MAX_FRAGMENT_PROGRAM_INSTS]

Current fragment program machine code.

Definition at line 152 of file spu_main.h.

spu_fragment_program_func spu_global::fragment_program

Current fragment ops function.

Definition at line 154 of file spu_main.h.

spu_sample_texture_func spu_global::sample_texture[CELL_MAX_SAMPLERS]

Current texture sampler function.

Definition at line 157 of file spu_main.h.

vector float spu_global::constants[32]

Definition at line 161 of file spu_main.h.


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