mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-16 04:44:26 -04:00
GXAttr OK
This commit is contained in:
@@ -42,6 +42,8 @@ extern "C" {
|
||||
(reg) = ((u32) (reg) & ~(((1 << (nbits)) - 1) << (shift))) | \
|
||||
((u32) (value) << (shift));
|
||||
|
||||
#define GET_REG_FIELD(reg, size, shift) ((int)((reg) >> (shift)) & ((1 << (size)) - 1))
|
||||
|
||||
#define SET_REG_FIELD(reg, size, shift, val) \
|
||||
(reg) = ((u32)(reg) & ~(((1 << (size)) - 1) << (shift))) | ((u32)(val) << (shift)); \
|
||||
|
||||
|
||||
@@ -36,6 +36,7 @@ void GXSetNumTexGens(u8 numTexGens);
|
||||
void GXGetVtxAttrFmtv(GXVtxFmt param_0, GXVtxAttrFmtList* param_1);
|
||||
void GXGetVtxAttrFmt(GXVtxFmt param_0, int param_1, GXCompCnt* param_2, GXCompType* param_3,
|
||||
u8* param_4);
|
||||
void GXGetVtxDesc(GXAttr attr, GXAttrType* type);
|
||||
void GXGetVtxDescv(GXVtxDescList* attrPtr);
|
||||
|
||||
static inline void GXSetTexCoordGen(GXTexCoordID dst, GXTexGenType type, GXTexGenSrc src, u32 mtx) {
|
||||
|
||||
Reference in New Issue
Block a user