Home | History | Annotate | Download | only in GLES_V2

Lines Matching defs:PRECISION

53       version 1.30.10 is the first version of GLSL Language containing precision qualifiers
55 all precision qualifiers from the shader source , otherwise we will use a shader parser
65 //XXX: Until proved otherwise, glsl doesn't know/use those precision macros, so we omit then
208 // parse the source and blank out precision statements
210 // precision {qualifier} {type};
216 // precision to be empty.
221 PRECISION,
224 } statementState = PRECISION;
225 const char *precision = NULL;
265 case PRECISION:
266 if (tokenLen == 9 && !strncmp(t,"precision",9)) {
268 precision = t;
278 statementState = PRECISION;
283 for (char *r = (char *)precision; r<=c ; ++r) {
287 statementState = PRECISION; //search for the next precision line
309 //the precision lines which we need to add to the shader
312 "precision lowp sampler2D;\n"
313 "precision lowp samplerCube;\n"