1 | /* |
---|
2 | ATI fragment shader Extension header file. |
---|
3 | setup by NFZ |
---|
4 | extracted from ATI 8500 SDK |
---|
5 | |
---|
6 | ** GL_ATI_fragment_shader |
---|
7 | ** |
---|
8 | ** Support: |
---|
9 | ** Rage 128 * based : Not Supported |
---|
10 | ** Radeon * based : Not Supported |
---|
11 | ** R200 * based : Supported |
---|
12 | ** R200 : 8500, 9000, 9100, 9200 |
---|
13 | ** also works on R300 but pointless since ARBFP1.0 supported |
---|
14 | */ |
---|
15 | |
---|
16 | |
---|
17 | #ifndef _GL_ATI_FRAGMENT_SHADER_H_ |
---|
18 | #define _GL_ATI_FRAGMENT_SHADER_H_ |
---|
19 | |
---|
20 | #include "OgreGLSupport.h" |
---|
21 | |
---|
22 | // ATI_fragment_program functions |
---|
23 | extern PFNGLGENFRAGMENTSHADERSATIPROC glGenFragmentShadersATI_ptr; |
---|
24 | extern PFNGLBINDFRAGMENTSHADERATIPROC glBindFragmentShaderATI_ptr; |
---|
25 | extern PFNGLDELETEFRAGMENTSHADERATIPROC glDeleteFragmentShaderATI_ptr; |
---|
26 | extern PFNGLBEGINFRAGMENTSHADERATIPROC glBeginFragmentShaderATI_ptr; |
---|
27 | extern PFNGLENDFRAGMENTSHADERATIPROC glEndFragmentShaderATI_ptr; |
---|
28 | extern PFNGLPASSTEXCOORDATIPROC glPassTexCoordATI_ptr; |
---|
29 | extern PFNGLSAMPLEMAPATIPROC glSampleMapATI_ptr; |
---|
30 | extern PFNGLCOLORFRAGMENTOP1ATIPROC glColorFragmentOp1ATI_ptr; |
---|
31 | extern PFNGLCOLORFRAGMENTOP2ATIPROC glColorFragmentOp2ATI_ptr; |
---|
32 | extern PFNGLCOLORFRAGMENTOP3ATIPROC glColorFragmentOp3ATI_ptr; |
---|
33 | extern PFNGLALPHAFRAGMENTOP1ATIPROC glAlphaFragmentOp1ATI_ptr; |
---|
34 | extern PFNGLALPHAFRAGMENTOP2ATIPROC glAlphaFragmentOp2ATI_ptr; |
---|
35 | extern PFNGLALPHAFRAGMENTOP3ATIPROC glAlphaFragmentOp3ATI_ptr; |
---|
36 | extern PFNGLSETFRAGMENTSHADERCONSTANTATIPROC glSetFragmentShaderConstantATI_ptr; |
---|
37 | |
---|
38 | bool InitATIFragmentShaderExtensions(Ogre::GLSupport& glSupport); |
---|
39 | |
---|
40 | #endif //_GL_ATI_FRAGMENT_SHADER_H_ |
---|
41 | |
---|