PS2GL
OpenGL*-like API for the PS2
Loading...
Searching...
No Matches
vu1renderers.h
1/* Copyright (C) 2000,2001,2002 Sony Computer Entertainment America
2
3 This file is subject to the terms and conditions of the GNU Lesser
4 General Public License Version 2.1. See the file "COPYING" in the
5 main directory of this archive for more details. */
6
7#ifndef ps2gl_vu1code_h
8#define ps2gl_vu1code_h
9
10#define VU_FUNCTIONS(name) \
11 void vsm##name##_CodeStart(); \
12 void vsm##name##_CodeEnd()
13
14#define mVsmAddr(name) ((void*)vsm##name##_CodeStart)
15#define mVsmSize(name) ((u8*)vsm##name##_CodeEnd - (u8*)vsm##name##_CodeStart)
16
17extern "C" {
18VU_FUNCTIONS(General);
19VU_FUNCTIONS(GeneralTri);
20VU_FUNCTIONS(GeneralQuad);
21
22VU_FUNCTIONS(GeneralNoSpec);
23VU_FUNCTIONS(GeneralNoSpecTri);
24VU_FUNCTIONS(GeneralNoSpecQuad);
25
26VU_FUNCTIONS(GeneralPVDiff);
27VU_FUNCTIONS(GeneralPVDiffTri);
28VU_FUNCTIONS(GeneralPVDiffQuad);
29
30VU_FUNCTIONS(SCEI);
31VU_FUNCTIONS(Fast);
32VU_FUNCTIONS(FastNoLights);
33
34VU_FUNCTIONS(Indexed);
35}
36
37#endif // ps2gl_vu1code_h