psl1ght
A free SDK for Sony's PS3 console
Data Fields
rsx_vp Struct Reference

Vertex program data structure. More...

#include <rsx_program.h>

Data Fields

u16 magic
 magic identifier
 
u16 num_attrib
 number of used input attributes in the vertex program
 
u32 attrib_off
 offset to the attribute name table
 
u32 input_mask
 mask of input attributes in the vertex shader
 
u32 output_mask
 mask of result attributes passed to the fragment shader
 
u16 const_start
 start address in vertex shader's constant block memory
 
u16 num_const
 number of used constants in the vertex program
 
u32 const_off
 offset to the constant name table
 
u16 start_insn
 start address to load the vertex program to
 
u16 num_insn
 number of vertex shader instructions
 
u32 ucode_off
 offset to the shader's micro code
 

Detailed Description

Vertex program data structure.

This data structure is filled by cgcomp, the offline compiler for shader programs.


The documentation for this struct was generated from the following file: