|
@@ -1,15 +1,16 @@
|
|
-#ifdef FRAGMENT_SHADER
|
|
|
|
- precision highp float;
|
|
|
|
- precision highp int;
|
|
|
|
- precision highp sampler2DArray;
|
|
|
|
- precision highp sampler2DShadow;
|
|
|
|
- precision highp samplerCube;
|
|
|
|
- precision highp sampler3D;
|
|
|
|
- precision highp sampler2D;
|
|
|
|
- #if __VERSION__ >= 310
|
|
|
|
- precision highp sampler2DMS;
|
|
|
|
- #endif
|
|
|
|
-
|
|
|
|
|
|
+#ifdef GL_ES
|
|
|
|
+ #ifdef FRAGMENT_SHADER
|
|
|
|
+ precision highp float;
|
|
|
|
+ precision highp int;
|
|
|
|
+ precision highp sampler2DArray;
|
|
|
|
+ precision highp sampler2DShadow;
|
|
|
|
+ precision highp samplerCube;
|
|
|
|
+ precision highp sampler3D;
|
|
|
|
+ precision highp sampler2D;
|
|
|
|
+ #if __VERSION__ >= 310
|
|
|
|
+ precision highp sampler2DMS;
|
|
|
|
+ #endif
|
|
|
|
+ #endif
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#if defined GL_ES
|
|
#if defined GL_ES
|