Home | History | Annotate | Download | only in accuracy

Lines Matching refs:Precision

103 					InterpolationCase			(Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective);
109 glu::Precision m_precision;
115 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective)
117 , m_precision (precision)
128 static bool isValidFloat (glu::Precision precision, float val)
130 if (precision == glu::PRECISION_MEDIUMP)
143 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec)
147 if (!isValidFloat(precision, vec[ndx]))
171 "in ${PRECISION} vec3 a_coords;\n"
172 "out ${PRECISION} vec3 v_coords;\n"
181 "in ${PRECISION} vec3 v_coords;\n"
182 "uniform ${PRECISION} vec3 u_scale;\n"
183 "uniform ${PRECISION} vec3 u_bias;\n"
184 "layout(location = 0) out ${PRECISION} vec4 o_color;\n"
192 templateParams["PRECISION"] = glu::getPrecisionName(m_precision);
309 glu::Precision minPrecision;
321 for (int precision = glu::PRECISION_LOWP; precision <= glu::PRECISION_HIGHP; precision++)
325 if (precision < (int)coordRanges[coordNdx].minPrecision)
328 string baseName = string(glu::getPrecisionName((glu::Precision)precision)) + "_" + coordRanges[coordNdx].name;
330 addChild(new InterpolationCase(m_context, baseName.c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, false));
331 addChild(new InterpolationCase(m_context, (baseName + "_proj").c_str(), "", (glu::Precision)precision, coordRanges[coordNdx].minVal, coordRanges[coordNdx].maxVal, true));