psl1ght
A free SDK for Sony's PS3 console
Loading...
Searching...
No Matches
rsx_vp Struct Reference

Vertex program data structure. More...

#include <rsx_program.h>

Data Fields

u16 magic
 magic identifier
 
u16 _pad0
 unused padding word. most be 0
 
u16 num_regs
 number of used registers in the vertex program
 
u16 num_attr
 number of used input attributes in the vertex program
 
u16 num_const
 number of used constants in the vertex program
 
u16 num_insn
 number of vertex shader instructions
 
u32 attr_off
 offset to the attribute name table
 
u32 const_off
 offset to the constant name table
 
u32 ucode_off
 offset to the shader's micro code
 
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 insn_start
 start address to load the vertex program to
 

Detailed Description

Vertex program data structure.

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

Definition at line 38 of file rsx_program.h.

Field Documentation

◆ _pad0

u16 rsx_vp::_pad0

unused padding word. most be 0

Definition at line 41 of file rsx_program.h.

◆ attr_off

u32 rsx_vp::attr_off

offset to the attribute name table

Definition at line 48 of file rsx_program.h.

◆ const_off

u32 rsx_vp::const_off

offset to the constant name table

Definition at line 49 of file rsx_program.h.

◆ const_start

u16 rsx_vp::const_start

start address in vertex shader's constant block memory

Definition at line 55 of file rsx_program.h.

◆ input_mask

u32 rsx_vp::input_mask

mask of input attributes in the vertex shader

Definition at line 52 of file rsx_program.h.

◆ insn_start

u16 rsx_vp::insn_start

start address to load the vertex program to

Definition at line 56 of file rsx_program.h.

◆ magic

u16 rsx_vp::magic

magic identifier

Definition at line 40 of file rsx_program.h.

◆ num_attr

u16 rsx_vp::num_attr

number of used input attributes in the vertex program

Definition at line 44 of file rsx_program.h.

◆ num_const

u16 rsx_vp::num_const

number of used constants in the vertex program

Definition at line 45 of file rsx_program.h.

◆ num_insn

u16 rsx_vp::num_insn

number of vertex shader instructions

Definition at line 46 of file rsx_program.h.

◆ num_regs

u16 rsx_vp::num_regs

number of used registers in the vertex program

Definition at line 43 of file rsx_program.h.

◆ output_mask

u32 rsx_vp::output_mask

mask of result attributes passed to the fragment shader

Definition at line 53 of file rsx_program.h.

◆ ucode_off

u32 rsx_vp::ucode_off

offset to the shader's micro code

Definition at line 50 of file rsx_program.h.


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