Home | History | Annotate | Download | only in accuracy

Lines Matching refs:Precision

100 					InterpolationCase			(Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective);
106 glu::Precision m_precision;
112 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective)
114 , m_precision (precision)
125 static bool isValidFloat (glu::Precision precision, float val)
127 if (precision == glu::PRECISION_MEDIUMP)
140 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec)
144 if (!isValidFloat(precision, vec[ndx]))
166 "attribute ${PRECISION} vec3 a_coords;\n"
167 "varying ${PRECISION} vec3 v_coords;\n"
175 "varying ${PRECISION} vec3 v_coords;\n"
176 "uniform ${PRECISION} vec3 u_scale;\n"
177 "uniform ${PRECISION} vec3 u_bias;\n"
185 templateParams["PRECISION"] = glu::getPrecisionName(m_precision);
302 glu::Precision minPrecision;
314 for (int precision = glu::PRECISION_LOWP; precision <= glu::PRECISION_HIGHP; precision++)
318 if (precision < (int)coordRanges[coordNdx].minPrecision)
321 string baseName = string(glu::getPrecisionName((glu::Precision)precision)) + "_" + coordRanges[coordNdx].name;
323 addChild(new InterpolationCase(m_context, baseName.c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, false));
324 addChild(new InterpolationCase(m_context, (baseName + "_proj").c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, true));