Lines Matching defs:glu
103 using glu::Precision;
104 using glu::RenderContext;
105 using glu::VarType;
106 using glu::DataType;
107 using glu::ShaderType;
108 using glu::ContextInfo;
175 return glu::getDataTypeName(glu::dataTypeOf<T>());
187 VarType getVarTypeOf (Precision prec = glu::PRECISION_LAST)
189 return glu::varTypeOf<T>(prec);
751 os << glu::declare(getVarTypeOf<T>(), m_variable->getName());
2126 case glu::PRECISION_HIGHP:
2128 case glu::PRECISION_MEDIUMP:
2130 case glu::PRECISION_LOWP:
2164 case glu::PRECISION_HIGHP:
2166 case glu::PRECISION_MEDIUMP:
2168 case glu::PRECISION_LOWP:
2181 if (ctx.floatPrecision == glu::PRECISION_HIGHP && x > 0)
2338 if (ctx.floatPrecision == glu::PRECISION_HIGHP)
2352 else if (ctx.floatPrecision == glu::PRECISION_MEDIUMP)
2367 DE_ASSERT(ctx.floatPrecision == glu::PRECISION_LOWP);
2415 if (ctx.floatPrecision == glu::PRECISION_HIGHP)
2448 if (ctx.floatPrecision == glu::PRECISION_HIGHP)
2515 if (ctx.floatPrecision == glu::PRECISION_HIGHP)
3930 return (glu::contextSupports(context.getType(), glu::ApiType::core(4, 5))) ? "" : "GL_EXT_gpu_shader5";
4241 case glu::PRECISION_LOWP: return 8;
4242 case glu::PRECISION_MEDIUMP: return 16;
4243 case glu::PRECISION_HIGHP: return 32;
4677 os << "precision " << glu::getPrecisionName(m_ctx.precision) << " float;\n";
5068 !glu::contextSupports(getRenderContext().getType(), glu::ApiType::core(4, 5)))
5505 formats[glu::PRECISION_HIGHP] = &highp_;
5506 formats[glu::PRECISION_MEDIUMP] = &mediump_;
5507 formats[glu::PRECISION_LOWP] = &lowp_;
5512 const FloatFormat* formats[glu::PRECISION_LAST];
5524 for (int precNdx = 0; precNdx < glu::PRECISION_LAST; ++precNdx)
5527 const string precName (glu::getPrecisionName(precision));
5528 const FloatFormat& fmt = *de::getSizedArrayElement<glu::PRECISION_LAST>(ctx.formats, precNdx);
5529 const FloatFormat& highpFmt = *de::getSizedArrayElement<glu::PRECISION_LAST>(ctx.formats,
5530 glu::PRECISION_HIGHP);
5535 const string shaderName (glu::getShaderTypeName(shaderType));