|
|
|
@ -26,10 +26,13 @@ |
|
|
|
#ifndef NEW_GLSL |
|
|
|
#ifndef NEW_GLSL |
|
|
|
#define in varying |
|
|
|
#define in varying |
|
|
|
#define value gl_FragColor.x |
|
|
|
#define value gl_FragColor.x |
|
|
|
#define const |
|
|
|
|
|
|
|
#define texture texture2D |
|
|
|
#define texture texture2D |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef RUNTIME_CONST |
|
|
|
|
|
|
|
#define const |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if (defined(GL_ES) && __VERSION__ >= 300) || (!defined(GL_ES) && __VERSION__ >= 150) |
|
|
|
#if (defined(GL_ES) && __VERSION__ >= 300) || (!defined(GL_ES) && __VERSION__ >= 150) |
|
|
|
#define TEXELFETCH_USABLE |
|
|
|
#define TEXELFETCH_USABLE |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|