Lines Matching refs:precision
21 * \brief Precision and range tests for GLSL builtins and types.
91 using glu::Precision;
125 * In the precision tests we are dealing with functions of different arities.
175 VarType getVarTypeOf (Precision prec = glu::PRECISION_LAST)
181 VarType getVarTypeOf<Void> (Precision)
236 //! Print out an interval with the precision of `fmt`.
251 //! Print out a value with the precision of `fmt`.
266 //! Approximate `value` elementwise to the float precision defined in `fmt`.
585 * point precision and the current variable environment.
591 Precision floatPrecision_,
600 Precision floatPrecision;
1035 * by the current floating point precision.
1661 const double prec = this->precision(ctx, exact, arg0);
1676 virtual double precision (const EvalContext& ctx, double, double) const = 0;
1729 const double prec = this->precision(ctx, exact, x, y);
1744 virtual double precision (const EvalContext& ctx,
1790 double precision (const EvalContext&, double, double, double) const
1822 const double prec = this->precision(ctx, exact, x, y, z);
1831 virtual double precision (const EvalContext& ctx,
1958 double precision (const EvalContext&, double, double) const { return 0.0; }
1997 double precision (const EvalContext& ctx, double ret, double, double den) const
2002 // For now, we assume that division's precision is 2.5 ULP when the value is within
2024 double precision (const EvalContext& ctx, double ret, double x) const
2041 double precision (const EvalContext& ctx, double ret, double x) const
2076 double precision (const EvalContext& ctx, double ret, double x) const
2240 double precision (const EvalContext& ctx, double ret, double arg) const
2244 // Use precision from OpenCL fast relaxed math
2307 double precision (const EvalContext& ctx, double ret, double x) const
2314 // Use OpenCL's precision
2379 double precision (const EvalContext& ctx, double ret, double, double) const
2395 // that gives us a reasonable precision.
3049 double precision (const EvalContext&, double, double) const { return 0.0; }
3096 double precision (const EvalContext&, double, double) const { return 0.0; }
3118 double precision (const EvalContext&, double, double, double) const { return 0.0; }
3163 double precision (const EvalContext&, double, double, double minVal, double maxVal) const
3909 virtual T genRandom (const FloatFormat&, Precision, Random&) const { return T(); }
3935 int genRandom (const FloatFormat&, Precision prec, Random& rnd) const
3952 static inline int getNumBits (Precision prec)
3970 float genRandom (const FloatFormat& format, Precision prec, Random& rnd) const;
3977 Precision,
4089 Value genRandom (const FloatFormat& fmt, Precision prec, Random& rnd) const
4121 Value genRandom (const FloatFormat& fmt, Precision prec, Random& rnd) const
4168 Precision precision_,
4176 , precision (precision_)
4185 Precision precision;
4314 return Symbol(variable.getName(), getVarTypeOf<T>(m_ctx.precision));
4380 // Initialize ShaderSpec from precision, variables and statement.
4383 os << "precision " << glu::getPrecisionName(m_ctx.precision) << " float;\n";
4467 EvalContext ctx (fmt, m_ctx.precision, env);
4660 Precision intPrecision,
4778 m_ctx.precision,
4836 m_ctx.precision,
5191 const Precision precision = Precision(precNdx);
5192 const string precName (glu::getPrecisionName(precision));
5203 precision, shaderType, ctx.numRandoms);