|
psl1ght
A free SDK for Sony's PS3 console
|
Fragment program data structure. More...
#include <rsx_program.h>
Data Fields | |
| u16 | magic |
| magic identifier | |
| u16 | num_attrib |
| number of used input attributes in the fragment program | |
| u32 | attrib_off |
| offset to the attribute name table | |
| u32 | num_regs |
| number of used registers in the fragment program | |
| u32 | fp_control |
| fragment program control mask | |
| u16 | texcoords |
| bit mask of all used texture coords in the fragment program | |
| u16 | texcoord2D |
| bit mask of used 2D texture coords in the fragment program | |
| u16 | texcoord3D |
| bit mask of used 3D texture coords in the fragment program | |
| u16 | _pad0 |
| unused padding word. most be 0 | |
| u16 | num_const |
| number of used constants in the fragment program | |
| u32 | const_off |
| offset to the constant name table | |
| u16 | num_insn |
| number of fragment program instructions | |
| u32 | ucode_off |
| offset to the shaders's micro code | |
Fragment program data structure.
This data structure is filled by cgcomp, the offline compiler for shader programs.
1.8.15