Home | History | Annotate | Download | only in accuracy

Lines Matching full:precision

101 					InterpolationCase			(Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective);
107 glu::Precision m_precision;
113 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective)
115 , m_precision (precision)
126 static bool isValidFloat (glu::Precision precision, float val)
128 if (precision == glu::PRECISION_MEDIUMP)
141 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec)
145 if (!isValidFloat(precision, vec[ndx]))
167 "attribute ${PRECISION} vec3 a_coords;\n"
168 "varying ${PRECISION} vec3 v_coords;\n"
176 "varying ${PRECISION} vec3 v_coords;\n"
177 "uniform ${PRECISION} vec3 u_scale;\n"
178 "uniform ${PRECISION} vec3 u_bias;\n"
186 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));