KallistiOS
##version##
|
headers.
Note that thanks to the arrangement of constants, this is mainly a matter of bit shifting to compile headers...
#define PVR_TA_CMD_CLRFMT_MASK (7 << PVR_TA_CMD_CLRFMT_SHIFT) |
#define PVR_TA_CMD_CLRFMT_SHIFT 4 |
#define PVR_TA_CMD_MODIFIER_MASK (1 << PVR_TA_CMD_MODIFIER_SHIFT) |
#define PVR_TA_CMD_MODIFIER_SHIFT 7 |
#define PVR_TA_CMD_MODIFIERMODE_MASK (1 << PVR_TA_CMD_MODIFIERMODE_SHIFT) |
#define PVR_TA_CMD_MODIFIERMODE_SHIFT 6 |
#define PVR_TA_CMD_SHADE_MASK (1 << PVR_TA_CMD_SHADE_SHIFT) |
#define PVR_TA_CMD_SHADE_SHIFT 1 |
#define PVR_TA_CMD_SPECULAR_MASK (1 << PVR_TA_CMD_SPECULAR_SHIFT) |
#define PVR_TA_CMD_SPECULAR_SHIFT 2 |
#define PVR_TA_CMD_TYPE_MASK (7 << PVR_TA_CMD_TYPE_SHIFT) |
#define PVR_TA_CMD_TYPE_SHIFT 24 |
#define PVR_TA_CMD_USERCLIP_MASK (3 << PVR_TA_CMD_USERCLIP_SHIFT) |
#define PVR_TA_CMD_USERCLIP_SHIFT 16 |
#define PVR_TA_CMD_UVFMT_MASK (1 << PVR_TA_CMD_UVFMT_SHIFT) |
#define PVR_TA_CMD_UVFMT_SHIFT 0 |
#define PVR_TA_PM1_CULLING_MASK (3 << PVR_TA_PM1_CULLING_SHIFT) |
#define PVR_TA_PM1_CULLING_SHIFT 27 |
#define PVR_TA_PM1_DEPTHCMP_MASK (7 << PVR_TA_PM1_DEPTHCMP_SHIFT) |
#define PVR_TA_PM1_DEPTHCMP_SHIFT 29 |
#define PVR_TA_PM1_DEPTHWRITE_MASK (1 << PVR_TA_PM1_DEPTHWRITE_SHIFT) |
#define PVR_TA_PM1_DEPTHWRITE_SHIFT 26 |
#define PVR_TA_PM1_MODIFIERINST_MASK (3 << PVR_TA_PM1_MODIFIERINST_SHIFT) |
#define PVR_TA_PM1_MODIFIERINST_SHIFT 29 |
#define PVR_TA_PM1_TXRENABLE_MASK (1 << PVR_TA_PM1_TXRENABLE_SHIFT) |
#define PVR_TA_PM1_TXRENABLE_SHIFT 25 |
#define PVR_TA_PM2_ALPHA_MASK (1 << PVR_TA_PM2_ALPHA_SHIFT) |
#define PVR_TA_PM2_ALPHA_SHIFT 20 |
#define PVR_TA_PM2_CLAMP_MASK (1 << PVR_TA_PM2_CLAMP_SHIFT) |
#define PVR_TA_PM2_CLAMP_SHIFT 21 |
#define PVR_TA_PM2_DSTBLEND_MASK (7 << PVR_TA_PM2_DSTBLEND_SHIFT) |
#define PVR_TA_PM2_DSTBLEND_SHIFT 26 |
#define PVR_TA_PM2_DSTENABLE_MASK (1 << PVR_TA_PM2_DSTENABLE_SHIFT) |
#define PVR_TA_PM2_DSTENABLE_SHIFT 24 |
#define PVR_TA_PM2_FILTER_MASK (7 << PVR_TA_PM2_FILTER_SHIFT) |
#define PVR_TA_PM2_FILTER_SHIFT 12 |
#define PVR_TA_PM2_FOG_MASK (3 << PVR_TA_PM2_FOG_SHIFT) |
#define PVR_TA_PM2_FOG_SHIFT 22 |
#define PVR_TA_PM2_MIPBIAS_MASK (15 << PVR_TA_PM2_MIPBIAS_SHIFT) |
#define PVR_TA_PM2_MIPBIAS_SHIFT 8 |
#define PVR_TA_PM2_SRCBLEND_MASK (7 << PVR_TA_PM2_SRCBLEND_SHIFT) |
#define PVR_TA_PM2_SRCBLEND_SHIFT 29 |
#define PVR_TA_PM2_SRCENABLE_MASK (1 << PVR_TA_PM2_SRCENABLE_SHIFT) |
#define PVR_TA_PM2_SRCENABLE_SHIFT 25 |
#define PVR_TA_PM2_TXRALPHA_MASK (1 << PVR_TA_PM2_TXRALPHA_SHIFT) |
#define PVR_TA_PM2_TXRALPHA_SHIFT 19 |
#define PVR_TA_PM2_TXRENV_MASK (3 << PVR_TA_PM2_TXRENV_SHIFT) |
#define PVR_TA_PM2_TXRENV_SHIFT 6 |
#define PVR_TA_PM2_USIZE_MASK (7 << PVR_TA_PM2_USIZE_SHIFT) |
#define PVR_TA_PM2_USIZE_SHIFT 3 |
#define PVR_TA_PM2_UVCLAMP_MASK (3 << PVR_TA_PM2_UVCLAMP_SHIFT) |
#define PVR_TA_PM2_UVCLAMP_SHIFT 15 |
#define PVR_TA_PM2_UVFLIP_MASK (3 << PVR_TA_PM2_UVFLIP_SHIFT) |
#define PVR_TA_PM2_UVFLIP_SHIFT 17 |
#define PVR_TA_PM2_VSIZE_MASK (7 << PVR_TA_PM2_VSIZE_SHIFT) |
#define PVR_TA_PM2_VSIZE_SHIFT 0 |
#define PVR_TA_PM3_MIPMAP_MASK (1 << PVR_TA_PM3_MIPMAP_SHIFT) |
#define PVR_TA_PM3_MIPMAP_SHIFT 31 |
#define PVR_TA_PM3_TXRFMT_MASK 0xffffffff |
#define PVR_TA_PM3_TXRFMT_SHIFT 0 |