Lines Matching refs:info
42 void G3CS_Direct0(GXDLInfo *info, int op) in G3CS_Direct0() argument
44 SDK_NULL_ASSERT(info); in G3CS_Direct0()
47 if (op != G3OP_NOP && ((u32)info->curr_cmd & 0x3) != 0) in G3CS_Direct0()
49 info->param0_cmd_flg = TRUE; in G3CS_Direct0()
52 *info->curr_cmd = (u8)(op); // byte access in G3CS_Direct0()
68 void G3CS_Direct1(GXDLInfo *info, int op, u32 param0) in G3CS_Direct1() argument
70 SDK_NULL_ASSERT(info); in G3CS_Direct1()
73 info->param0_cmd_flg = FALSE; in G3CS_Direct1()
75 *info->curr_cmd = (u8)(op); // byte access in G3CS_Direct1()
76 *info->curr_param = param0; in G3CS_Direct1()
93 void G3CS_Direct2(GXDLInfo *info, int op, u32 param0, u32 param1) in G3CS_Direct2() argument
95 SDK_NULL_ASSERT(info); in G3CS_Direct2()
98 info->param0_cmd_flg = FALSE; in G3CS_Direct2()
100 *info->curr_cmd = (u8)(op); // byte access in G3CS_Direct2()
101 *(info->curr_param + 0) = param0; in G3CS_Direct2()
102 *(info->curr_param + 1) = param1; in G3CS_Direct2()
121 void G3CS_Direct3(GXDLInfo *info, int op, u32 param0, u32 param1, u32 param2) in G3CS_Direct3() argument
123 SDK_NULL_ASSERT(info); in G3CS_Direct3()
126 info->param0_cmd_flg = FALSE; in G3CS_Direct3()
128 *info->curr_cmd = (u8)(op); // byte access in G3CS_Direct3()
129 *(info->curr_param + 0) = param0; in G3CS_Direct3()
130 *(info->curr_param + 1) = param1; in G3CS_Direct3()
131 *(info->curr_param + 2) = param2; in G3CS_Direct3()
148 void G3CS_DirectN(GXDLInfo *info, int op, int nParams, const u32 *params) in G3CS_DirectN() argument
150 SDK_NULL_ASSERT(info); in G3CS_DirectN()
152 SDK_NULL_ASSERT(info->curr_cmd); in G3CS_DirectN()
153 SDK_NULL_ASSERT(info->curr_param); in G3CS_DirectN()
157 G3CS_Direct0(info, op); in G3CS_DirectN()
161 info->param0_cmd_flg = FALSE; in G3CS_DirectN()
163 *info->curr_cmd = (u8)(op); // byte access in G3CS_DirectN()
166 *(info->curr_param + nParams) = *(params + nParams); in G3CS_DirectN()
182 void G3CS_LoadMtx44(GXDLInfo *info, const MtxFx44 *m) in G3CS_LoadMtx44() argument
184 SDK_NULL_ASSERT(info); in G3CS_LoadMtx44()
185 SDK_NULL_ASSERT(info->curr_cmd); in G3CS_LoadMtx44()
186 SDK_NULL_ASSERT(info->curr_param); in G3CS_LoadMtx44()
189 info->param0_cmd_flg = FALSE; in G3CS_LoadMtx44()
191 *info->curr_cmd = G3OP_MTX_LOAD_4x4; // byte access in G3CS_LoadMtx44()
193 MI_Copy64B(&m->_00, (void *)info->curr_param); in G3CS_LoadMtx44()
195 *(info->curr_param + 0) = (u32)m->_00; in G3CS_LoadMtx44()
196 *(info->curr_param + 1) = (u32)m->_01; in G3CS_LoadMtx44()
197 *(info->curr_param + 2) = (u32)m->_02; in G3CS_LoadMtx44()
198 *(info->curr_param + 3) = (u32)m->_03; in G3CS_LoadMtx44()
200 *(info->curr_param + 4) = (u32)m->_10; in G3CS_LoadMtx44()
201 *(info->curr_param + 5) = (u32)m->_11; in G3CS_LoadMtx44()
202 *(info->curr_param + 6) = (u32)m->_12; in G3CS_LoadMtx44()
203 *(info->curr_param + 7) = (u32)m->_13; in G3CS_LoadMtx44()
205 *(info->curr_param + 8) = (u32)m->_20; in G3CS_LoadMtx44()
206 *(info->curr_param + 9) = (u32)m->_21; in G3CS_LoadMtx44()
207 *(info->curr_param + 10) = (u32)m->_22; in G3CS_LoadMtx44()
208 *(info->curr_param + 11) = (u32)m->_23; in G3CS_LoadMtx44()
210 *(info->curr_param + 12) = (u32)m->_30; in G3CS_LoadMtx44()
211 *(info->curr_param + 13) = (u32)m->_31; in G3CS_LoadMtx44()
212 *(info->curr_param + 14) = (u32)m->_32; in G3CS_LoadMtx44()
213 *(info->curr_param + 15) = (u32)m->_33; in G3CS_LoadMtx44()
229 void G3CS_LoadMtx43(GXDLInfo *info, const MtxFx43 *m) in G3CS_LoadMtx43() argument
231 SDK_NULL_ASSERT(info); in G3CS_LoadMtx43()
232 SDK_NULL_ASSERT(info->curr_cmd); in G3CS_LoadMtx43()
233 SDK_NULL_ASSERT(info->curr_param); in G3CS_LoadMtx43()
236 info->param0_cmd_flg = FALSE; in G3CS_LoadMtx43()
238 *info->curr_cmd = G3OP_MTX_LOAD_4x3; // byte access in G3CS_LoadMtx43()
240 MI_Copy48B(&m->_00, (void *)info->curr_param); in G3CS_LoadMtx43()
242 *(info->curr_param + 0) = (u32)m->_00; in G3CS_LoadMtx43()
243 *(info->curr_param + 1) = (u32)m->_01; in G3CS_LoadMtx43()
244 *(info->curr_param + 2) = (u32)m->_02; in G3CS_LoadMtx43()
246 *(info->curr_param + 3) = (u32)m->_10; in G3CS_LoadMtx43()
247 *(info->curr_param + 4) = (u32)m->_11; in G3CS_LoadMtx43()
248 *(info->curr_param + 5) = (u32)m->_12; in G3CS_LoadMtx43()
250 *(info->curr_param + 6) = (u32)m->_20; in G3CS_LoadMtx43()
251 *(info->curr_param + 7) = (u32)m->_21; in G3CS_LoadMtx43()
252 *(info->curr_param + 8) = (u32)m->_22; in G3CS_LoadMtx43()
254 *(info->curr_param + 9) = (u32)m->_30; in G3CS_LoadMtx43()
255 *(info->curr_param + 10) = (u32)m->_31; in G3CS_LoadMtx43()
256 *(info->curr_param + 11) = (u32)m->_32; in G3CS_LoadMtx43()
272 void G3CS_MultMtx44(GXDLInfo *info, const MtxFx44 *m) in G3CS_MultMtx44() argument
274 SDK_NULL_ASSERT(info); in G3CS_MultMtx44()
275 SDK_NULL_ASSERT(info->curr_cmd); in G3CS_MultMtx44()
276 SDK_NULL_ASSERT(info->curr_param); in G3CS_MultMtx44()
279 info->param0_cmd_flg = FALSE; in G3CS_MultMtx44()
281 *info->curr_cmd = G3OP_MTX_MULT_4x4; // byte access in G3CS_MultMtx44()
283 MI_Copy64B(&m->_00, (void *)info->curr_param); in G3CS_MultMtx44()
285 *(info->curr_param + 0) = (u32)m->_00; in G3CS_MultMtx44()
286 *(info->curr_param + 1) = (u32)m->_01; in G3CS_MultMtx44()
287 *(info->curr_param + 2) = (u32)m->_02; in G3CS_MultMtx44()
288 *(info->curr_param + 3) = (u32)m->_03; in G3CS_MultMtx44()
290 *(info->curr_param + 4) = (u32)m->_10; in G3CS_MultMtx44()
291 *(info->curr_param + 5) = (u32)m->_11; in G3CS_MultMtx44()
292 *(info->curr_param + 6) = (u32)m->_12; in G3CS_MultMtx44()
293 *(info->curr_param + 7) = (u32)m->_13; in G3CS_MultMtx44()
295 *(info->curr_param + 8) = (u32)m->_20; in G3CS_MultMtx44()
296 *(info->curr_param + 9) = (u32)m->_21; in G3CS_MultMtx44()
297 *(info->curr_param + 10) = (u32)m->_22; in G3CS_MultMtx44()
298 *(info->curr_param + 11) = (u32)m->_23; in G3CS_MultMtx44()
300 *(info->curr_param + 12) = (u32)m->_30; in G3CS_MultMtx44()
301 *(info->curr_param + 13) = (u32)m->_31; in G3CS_MultMtx44()
302 *(info->curr_param + 14) = (u32)m->_32; in G3CS_MultMtx44()
303 *(info->curr_param + 15) = (u32)m->_33; in G3CS_MultMtx44()
319 void G3CS_MultMtx43(GXDLInfo *info, const MtxFx43 *m) in G3CS_MultMtx43() argument
321 SDK_NULL_ASSERT(info); in G3CS_MultMtx43()
322 SDK_NULL_ASSERT(info->curr_cmd); in G3CS_MultMtx43()
323 SDK_NULL_ASSERT(info->curr_param); in G3CS_MultMtx43()
326 info->param0_cmd_flg = FALSE; in G3CS_MultMtx43()
328 *info->curr_cmd = G3OP_MTX_MULT_4x3; // byte access in G3CS_MultMtx43()
330 MI_Copy48B(&m->_00, (void *)info->curr_param); in G3CS_MultMtx43()
332 *(info->curr_param + 0) = (u32)m->_00; in G3CS_MultMtx43()
333 *(info->curr_param + 1) = (u32)m->_01; in G3CS_MultMtx43()
334 *(info->curr_param + 2) = (u32)m->_02; in G3CS_MultMtx43()
336 *(info->curr_param + 3) = (u32)m->_10; in G3CS_MultMtx43()
337 *(info->curr_param + 4) = (u32)m->_11; in G3CS_MultMtx43()
338 *(info->curr_param + 5) = (u32)m->_12; in G3CS_MultMtx43()
340 *(info->curr_param + 6) = (u32)m->_20; in G3CS_MultMtx43()
341 *(info->curr_param + 7) = (u32)m->_21; in G3CS_MultMtx43()
342 *(info->curr_param + 8) = (u32)m->_22; in G3CS_MultMtx43()
344 *(info->curr_param + 9) = (u32)m->_30; in G3CS_MultMtx43()
345 *(info->curr_param + 10) = (u32)m->_31; in G3CS_MultMtx43()
346 *(info->curr_param + 11) = (u32)m->_32; in G3CS_MultMtx43()
362 void G3CS_MultMtx33(GXDLInfo *info, const MtxFx33 *m) in G3CS_MultMtx33() argument
364 SDK_NULL_ASSERT(info); in G3CS_MultMtx33()
365 SDK_NULL_ASSERT(info->curr_cmd); in G3CS_MultMtx33()
366 SDK_NULL_ASSERT(info->curr_param); in G3CS_MultMtx33()
369 info->param0_cmd_flg = FALSE; in G3CS_MultMtx33()
371 *info->curr_cmd = G3OP_MTX_MULT_3x3; // byte access in G3CS_MultMtx33()
373 MI_Copy36B(&m->_00, (void *)info->curr_param); in G3CS_MultMtx33()
375 *(info->curr_param + 0) = (u32)m->_00; in G3CS_MultMtx33()
376 *(info->curr_param + 1) = (u32)m->_01; in G3CS_MultMtx33()
377 *(info->curr_param + 2) = (u32)m->_02; in G3CS_MultMtx33()
379 *(info->curr_param + 3) = (u32)m->_10; in G3CS_MultMtx33()
380 *(info->curr_param + 4) = (u32)m->_11; in G3CS_MultMtx33()
381 *(info->curr_param + 5) = (u32)m->_12; in G3CS_MultMtx33()
383 *(info->curr_param + 6) = (u32)m->_20; in G3CS_MultMtx33()
384 *(info->curr_param + 7) = (u32)m->_21; in G3CS_MultMtx33()
385 *(info->curr_param + 8) = (u32)m->_22; in G3CS_MultMtx33()
400 void G3CS_MultTransMtx33(GXDLInfo *info, const MtxFx33 *mtx, const VecFx32 *trans) in G3CS_MultTransMtx33() argument
402 SDK_NULL_ASSERT(info); in G3CS_MultTransMtx33()
405 SDK_NULL_ASSERT(info->curr_cmd); in G3CS_MultTransMtx33()
406 SDK_NULL_ASSERT(info->curr_param); in G3CS_MultTransMtx33()
408 info->param0_cmd_flg = FALSE; in G3CS_MultTransMtx33()
410 *info->curr_cmd = G3OP_MTX_MULT_4x3; in G3CS_MultTransMtx33()
412 MI_Copy36B(&mtx->_00, (void *)info->curr_param); in G3CS_MultTransMtx33()
413 MI_CpuCopy32(trans, (u32 *)info->curr_param + 9, sizeof(VecFx32)); in G3CS_MultTransMtx33()
415 *((u32 *)info->curr_param + 0) = (u32)mtx->_00; in G3CS_MultTransMtx33()
416 *((u32 *)info->curr_param + 1) = (u32)mtx->_01; in G3CS_MultTransMtx33()
417 *((u32 *)info->curr_param + 2) = (u32)mtx->_02; in G3CS_MultTransMtx33()
419 *((u32 *)info->curr_param + 3) = (u32)mtx->_10; in G3CS_MultTransMtx33()
420 *((u32 *)info->curr_param + 4) = (u32)mtx->_11; in G3CS_MultTransMtx33()
421 *((u32 *)info->curr_param + 5) = (u32)mtx->_12; in G3CS_MultTransMtx33()
423 *((u32 *)info->curr_param + 6) = (u32)mtx->_20; in G3CS_MultTransMtx33()
424 *((u32 *)info->curr_param + 7) = (u32)mtx->_21; in G3CS_MultTransMtx33()
425 *((u32 *)info->curr_param + 8) = (u32)mtx->_22; in G3CS_MultTransMtx33()
427 *((u32 *)info->curr_param + 9) = trans->x; in G3CS_MultTransMtx33()
428 *((u32 *)info->curr_param + 10) = trans->y; in G3CS_MultTransMtx33()
429 *((u32 *)info->curr_param + 11) = trans->z; in G3CS_MultTransMtx33()
451 void G3C_Direct0(GXDLInfo *info, int op) in G3C_Direct0() argument
453 G3CS_Direct0(info, op); in G3C_Direct0()
454 G3C_UpdateGXDLInfo(info, 0); in G3C_Direct0()
471 void G3C_Direct1(GXDLInfo *info, int op, u32 param0) in G3C_Direct1() argument
473 G3CS_Direct1(info, op, param0); in G3C_Direct1()
475 G3C_UpdateGXDLInfo(info, 1); in G3C_Direct1()
493 void G3C_Direct2(GXDLInfo *info, int op, u32 param0, u32 param1) in G3C_Direct2() argument
495 G3CS_Direct2(info, op, param0, param1); in G3C_Direct2()
497 G3C_UpdateGXDLInfo(info, 2); in G3C_Direct2()
516 void G3C_Direct3(GXDLInfo *info, int op, u32 param0, u32 param1, u32 param2) in G3C_Direct3() argument
518 G3CS_Direct3(info, op, param0, param1, param2); in G3C_Direct3()
520 G3C_UpdateGXDLInfo(info, 3); in G3C_Direct3()
538 void G3C_DirectN(GXDLInfo *info, int op, int nParams, const u32 *params) in G3C_DirectN() argument
540 G3CS_DirectN(info, op, nParams, params); in G3C_DirectN()
542 G3C_UpdateGXDLInfo(info, nParams); in G3C_DirectN()
556 void G3C_UpdateGXDLInfo(GXDLInfo *info, int n) in G3C_UpdateGXDLInfo() argument
558 info->curr_param += n; in G3C_UpdateGXDLInfo()
560 SDK_ASSERTMSG(((u32)(info->curr_param) - (u32)info->bottom <= info->length), in G3C_UpdateGXDLInfo()
563 if (((u32)(++info->curr_cmd) & 0x3) == 0) in G3C_UpdateGXDLInfo()
565 if (info->param0_cmd_flg) in G3C_UpdateGXDLInfo()
568 *(u32 *)(info->curr_param++) = 0; in G3C_UpdateGXDLInfo()
569 info->param0_cmd_flg = FALSE; in G3C_UpdateGXDLInfo()
571 info->curr_cmd = (u8 *)(info->curr_param++); in G3C_UpdateGXDLInfo()
574 SDK_ASSERTMSG(((u32)(info->curr_cmd) - (u32)info->bottom <= info->length), in G3C_UpdateGXDLInfo()
590 void G3C_Nop(GXDLInfo *info) in G3C_Nop() argument
592 G3CS_Nop(info); in G3C_Nop()
593 G3C_UpdateGXDLInfo(info, G3OP_NOP_NPARAMS); in G3C_Nop()
609 void G3C_MtxMode(GXDLInfo *info, GXMtxMode mode) in G3C_MtxMode() argument
611 G3CS_MtxMode(info, mode); in G3C_MtxMode()
612 G3C_UpdateGXDLInfo(info, G3OP_MTX_MODE_NPARAMS); in G3C_MtxMode()
628 void G3C_PushMtx(GXDLInfo *info) in G3C_PushMtx() argument
630 G3CS_PushMtx(info); in G3C_PushMtx()
631 G3C_UpdateGXDLInfo(info, G3OP_MTX_PUSH_NPARAMS); in G3C_PushMtx()
648 void G3C_PopMtx(GXDLInfo *info, int num) in G3C_PopMtx() argument
650 G3CS_PopMtx(info, num); in G3C_PopMtx()
651 G3C_UpdateGXDLInfo(info, G3OP_MTX_POP_NPARAMS); in G3C_PopMtx()
668 void G3C_StoreMtx(GXDLInfo *info, int num) in G3C_StoreMtx() argument
670 G3CS_StoreMtx(info, num); in G3C_StoreMtx()
671 G3C_UpdateGXDLInfo(info, G3OP_MTX_STORE_NPARAMS); in G3C_StoreMtx()
688 void G3C_RestoreMtx(GXDLInfo *info, int num) in G3C_RestoreMtx() argument
690 G3CS_RestoreMtx(info, num); in G3C_RestoreMtx()
691 G3C_UpdateGXDLInfo(info, G3OP_MTX_RESTORE_NPARAMS); in G3C_RestoreMtx()
707 void G3C_Identity(GXDLInfo *info) in G3C_Identity() argument
709 G3CS_Identity(info); in G3C_Identity()
710 G3C_UpdateGXDLInfo(info, G3OP_MTX_IDENTITY_NPARAMS); in G3C_Identity()
726 void G3C_LoadMtx44(GXDLInfo *info, const MtxFx44 *m) in G3C_LoadMtx44() argument
728 G3CS_LoadMtx44(info, m); in G3C_LoadMtx44()
729 G3C_UpdateGXDLInfo(info, G3OP_MTX_LOAD_4x4_NPARAMS); in G3C_LoadMtx44()
745 void G3C_LoadMtx43(GXDLInfo *info, const MtxFx43 *m) in G3C_LoadMtx43() argument
747 G3CS_LoadMtx43(info, m); in G3C_LoadMtx43()
748 G3C_UpdateGXDLInfo(info, G3OP_MTX_LOAD_4x3_NPARAMS); in G3C_LoadMtx43()
764 void G3C_MultMtx44(GXDLInfo *info, const MtxFx44 *m) in G3C_MultMtx44() argument
766 G3CS_MultMtx44(info, m); in G3C_MultMtx44()
767 G3C_UpdateGXDLInfo(info, G3OP_MTX_MULT_4x4_NPARAMS); in G3C_MultMtx44()
783 void G3C_MultMtx43(GXDLInfo *info, const MtxFx43 *m) in G3C_MultMtx43() argument
785 G3CS_MultMtx43(info, m); in G3C_MultMtx43()
786 G3C_UpdateGXDLInfo(info, G3OP_MTX_MULT_4x3_NPARAMS); in G3C_MultMtx43()
802 void G3C_MultMtx33(GXDLInfo *info, const MtxFx33 *m) in G3C_MultMtx33() argument
804 G3CS_MultMtx33(info, m); in G3C_MultMtx33()
805 G3C_UpdateGXDLInfo(info, G3OP_MTX_MULT_3x3_NPARAMS); in G3C_MultMtx33()
819 void G3C_MultTransMtx33(GXDLInfo *info, const MtxFx33 *mtx, const VecFx32 *trans) in G3C_MultTransMtx33() argument
821 G3CS_MultTransMtx33(info, mtx, trans); in G3C_MultTransMtx33()
822 G3C_UpdateGXDLInfo(info, G3OP_MTX_MULT_4x3_NPARAMS); in G3C_MultTransMtx33()
839 void G3C_Scale(GXDLInfo *info, fx32 x, fx32 y, fx32 z) in G3C_Scale() argument
841 G3CS_Scale(info, x, y, z); in G3C_Scale()
842 G3C_UpdateGXDLInfo(info, G3OP_MTX_SCALE_NPARAMS); in G3C_Scale()
860 void G3C_Translate(GXDLInfo *info, fx32 x, fx32 y, fx32 z) in G3C_Translate() argument
862 G3CS_Translate(info, x, y, z); in G3C_Translate()
863 G3C_UpdateGXDLInfo(info, G3OP_MTX_TRANS_NPARAMS); in G3C_Translate()
878 void G3C_Color(GXDLInfo *info, GXRgb rgb) in G3C_Color() argument
880 G3CS_Color(info, rgb); in G3C_Color()
881 G3C_UpdateGXDLInfo(info, G3OP_COLOR_NPARAMS); in G3C_Color()
898 void G3C_Normal(GXDLInfo *info, fx16 x, fx16 y, fx16 z) in G3C_Normal() argument
900 G3CS_Normal(info, x, y, z); in G3C_Normal()
901 G3C_UpdateGXDLInfo(info, G3OP_NORMAL_NPARAMS); in G3C_Normal()
917 void G3C_TexCoord(GXDLInfo *info, fx32 s, fx32 t) in G3C_TexCoord() argument
919 G3CS_TexCoord(info, s, t); in G3C_TexCoord()
920 G3C_UpdateGXDLInfo(info, G3OP_TEXCOORD_NPARAMS); in G3C_TexCoord()
937 void G3C_Vtx(GXDLInfo *info, fx16 x, fx16 y, fx16 z) in G3C_Vtx() argument
939 G3CS_Vtx(info, x, y, z); in G3C_Vtx()
940 G3C_UpdateGXDLInfo(info, G3OP_VTX_16_NPARAMS); in G3C_Vtx()
957 void G3C_Vtx10(GXDLInfo *info, fx16 x, fx16 y, fx16 z) in G3C_Vtx10() argument
959 G3CS_Vtx10(info, x, y, z); in G3C_Vtx10()
960 G3C_UpdateGXDLInfo(info, G3OP_VTX_10_NPARAMS); in G3C_Vtx10()
977 void G3C_VtxXY(GXDLInfo *info, fx16 x, fx16 y) in G3C_VtxXY() argument
979 G3CS_VtxXY(info, x, y); in G3C_VtxXY()
980 G3C_UpdateGXDLInfo(info, G3OP_VTX_XY_NPARAMS); in G3C_VtxXY()
997 void G3C_VtxXZ(GXDLInfo *info, fx16 x, fx16 z) in G3C_VtxXZ() argument
999 G3CS_VtxXZ(info, x, z); in G3C_VtxXZ()
1000 G3C_UpdateGXDLInfo(info, G3OP_VTX_XZ_NPARAMS); in G3C_VtxXZ()
1017 void G3C_VtxYZ(GXDLInfo *info, fx16 y, fx16 z) in G3C_VtxYZ() argument
1019 G3CS_VtxYZ(info, y, z); in G3C_VtxYZ()
1020 G3C_UpdateGXDLInfo(info, G3OP_VTX_YZ_NPARAMS); in G3C_VtxYZ()
1038 void G3C_VtxDiff(GXDLInfo *info, fx16 x, fx16 y, fx16 z) in G3C_VtxDiff() argument
1040 G3CS_VtxDiff(info, x, y, z); in G3C_VtxDiff()
1041 G3C_UpdateGXDLInfo(info, G3OP_VTX_DIFF_NPARAMS); in G3C_VtxDiff()
1061 void G3C_PolygonAttr(GXDLInfo *info, int light, GXPolygonMode polyMode, GXCull cullMode, int polygo… in G3C_PolygonAttr() argument
1064 G3CS_PolygonAttr(info, light, polyMode, cullMode, polygonID, alpha, misc); in G3C_PolygonAttr()
1065 G3C_UpdateGXDLInfo(info, G3OP_POLYGON_ATTR_NPARAMS); in G3C_PolygonAttr()
1088 void G3C_TexImageParam(GXDLInfo *info, in G3C_TexImageParam() argument
1094 G3CS_TexImageParam(info, texFmt, texGen, s, t, repeat, flip, pltt0, addr); in G3C_TexImageParam()
1096 G3C_UpdateGXDLInfo(info, G3OP_TEXIMAGE_PARAM_NPARAMS); in G3C_TexImageParam()
1113 void G3C_TexPlttBase(GXDLInfo *info, u32 addr, GXTexFmt texfmt) in G3C_TexPlttBase() argument
1115 G3CS_TexPlttBase(info, addr, texfmt); in G3C_TexPlttBase()
1117 G3C_UpdateGXDLInfo(info, G3OP_TEXPLTT_BASE_NPARAMS); in G3C_TexPlttBase()
1134 void G3C_MaterialColorDiffAmb(GXDLInfo *info, GXRgb diffuse, GXRgb ambient, BOOL IsSetVtxColor) in G3C_MaterialColorDiffAmb() argument
1136 G3CS_MaterialColorDiffAmb(info, diffuse, ambient, IsSetVtxColor); in G3C_MaterialColorDiffAmb()
1137 G3C_UpdateGXDLInfo(info, G3OP_DIF_AMB_NPARAMS); in G3C_MaterialColorDiffAmb()
1155 void G3C_MaterialColorSpecEmi(GXDLInfo *info, GXRgb specular, GXRgb emission, BOOL IsShininess) in G3C_MaterialColorSpecEmi() argument
1157 G3CS_MaterialColorSpecEmi(info, specular, emission, IsShininess); in G3C_MaterialColorSpecEmi()
1158 G3C_UpdateGXDLInfo(info, G3OP_SPE_EMI_NPARAMS); in G3C_MaterialColorSpecEmi()
1176 void G3C_LightVector(GXDLInfo *info, GXLightId lightID, fx16 x, fx16 y, fx16 z) in G3C_LightVector() argument
1178 G3CS_LightVector(info, lightID, x, y, z); in G3C_LightVector()
1179 G3C_UpdateGXDLInfo(info, G3OP_LIGHT_VECTOR_NPARAMS); in G3C_LightVector()
1195 void G3C_LightColor(GXDLInfo *info, GXLightId lightID, GXRgb rgb) in G3C_LightColor() argument
1197 G3CS_LightColor(info, lightID, rgb); in G3C_LightColor()
1198 G3C_UpdateGXDLInfo(info, G3OP_LIGHT_COLOR_NPARAMS); in G3C_LightColor()
1213 void G3C_Shininess(GXDLInfo *info, const u32 *table) in G3C_Shininess() argument
1215 G3CS_Shininess(info, table); in G3C_Shininess()
1216 G3C_UpdateGXDLInfo(info, G3OP_SHININESS_NPARAMS); in G3C_Shininess()
1231 void G3C_Begin(GXDLInfo *info, GXBegin primitive) in G3C_Begin() argument
1233 G3CS_Begin(info, primitive); in G3C_Begin()
1234 G3C_UpdateGXDLInfo(info, G3OP_BEGIN_NPARAMS); in G3C_Begin()
1248 void G3C_End(GXDLInfo *info) in G3C_End() argument
1250 G3CS_End(info); in G3C_End()
1251 G3C_UpdateGXDLInfo(info, G3OP_END_NPARAMS); in G3C_End()
1268 void G3C_SwapBuffers(GXDLInfo *info, GXSortMode am, GXBufferMode zw) in G3C_SwapBuffers() argument
1270 G3CS_SwapBuffers(info, am, zw); in G3C_SwapBuffers()
1271 G3C_UpdateGXDLInfo(info, G3OP_SWAP_BUFFERS_NPARAMS); in G3C_SwapBuffers()
1289 void G3C_ViewPort(GXDLInfo *info, int x1, int y1, int x2, int y2) in G3C_ViewPort() argument
1291 G3CS_ViewPort(info, x1, y1, x2, y2); in G3C_ViewPort()
1292 G3C_UpdateGXDLInfo(info, G3OP_VIEWPORT_NPARAMS); in G3C_ViewPort()
1308 void G3C_BoxTest(GXDLInfo *info, const GXBoxTestParam *box) in G3C_BoxTest() argument
1310 G3CS_BoxTest(info, box); in G3C_BoxTest()
1311 G3C_UpdateGXDLInfo(info, G3OP_BOX_TEST_NPARAMS); in G3C_BoxTest()
1329 void G3C_PositionTest(GXDLInfo *info, fx16 x, fx16 y, fx16 z) in G3C_PositionTest() argument
1331 G3CS_PositionTest(info, x, y, z); in G3C_PositionTest()
1332 G3C_UpdateGXDLInfo(info, G3OP_POS_TEST_NPARAMS); in G3C_PositionTest()
1350 void G3C_VectorTest(GXDLInfo *info, fx16 x, fx16 y, fx16 z) in G3C_VectorTest() argument
1352 G3CS_VectorTest(info, x, y, z); in G3C_VectorTest()
1353 G3C_UpdateGXDLInfo(info, G3OP_VEC_TEST_NPARAMS); in G3C_VectorTest()