Searched refs:Precision (Results 1 - 25 of 81) sorted by relevance

1234

/external/chromium_org/third_party/skia/include/gpu/
H A DGrShaderVar.h37 enum Precision { enum in class:GrShaderVar
59 Precision precision = kDefault_Precision)
69 Precision precision = kDefault_Precision)
79 int arrayCount = kNonArray, Precision precision = kDefault_Precision)
102 Precision precision = kDefault_Precision) {
117 Precision precision = kDefault_Precision) {
133 Precision precision = kDefault_Precision) {
149 Precision precision = kDefault_Precision) {
218 Precision getPrecision() const { return fPrecision; }
223 void setPrecision(Precision
[all...]
/external/skia/src/gpu/gl/
H A DGrGLShaderVar.h39 enum Precision { enum in class:GrGLShaderVar
71 Precision precision = kDefault_Precision) {
107 Precision precision = kDefault_Precision,
126 Precision precision = kDefault_Precision,
146 Precision precision = kDefault_Precision,
166 Precision precision = kDefault_Precision,
239 Precision getPrecision() const { return fPrecision; }
244 void setPrecision(Precision p) { fPrecision = p; }
305 static const char* PrecisionString(Precision p, GrGLStandard standard) {
353 Precision fPrecisio
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dprogram_parse_extra.c44 inst->Precision = FLOAT32;
53 inst->Precision = FLOAT16;
57 inst->Precision = FLOAT32;
61 inst->Precision = FIXED12;
/external/mesa3d/src/mesa/program/
H A Dprogram_parse_extra.c44 inst->Precision = FLOAT32;
53 inst->Precision = FLOAT16;
57 inst->Precision = FLOAT32;
61 inst->Precision = FIXED12;
/external/llvm/lib/Support/
H A DScaledNumber.cpp162 static std::string toStringAPFloat(uint64_t D, int E, unsigned Precision) {
186 Float.toString(Chars, Precision, 0);
201 unsigned Precision) {
231 return toStringAPFloat(D, E, Precision);
274 (!Precision || DigitsOut <= Precision || SinceDot < 2));
277 if (!Precision || DigitsOut <= Precision)
282 std::max(Str.size() - (DigitsOut - Precision), AfterDot + 1);
312 int Width, unsigned Precision) {
[all...]
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLShaderVar.h40 Precision precision = kDefault_Precision)
50 int arrayCount = kNonArray, Precision precision = kDefault_Precision)
86 Precision precision = kDefault_Precision,
101 Precision precision = kDefault_Precision,
117 Precision precision = kDefault_Precision,
133 Precision precision = kDefault_Precision,
201 static const char* PrecisionString(Precision p, GrGLStandard standard) {
/external/deqp/modules/gles31/functional/
H A Des31fShaderCommonFunctionTests.cpp124 inline bool supportsSignedZero (glu::Precision precision)
150 static int getMinMantissaBits (glu::Precision precision)
163 static int getMaxNormalizedValueExponent (glu::Precision precision)
176 static int getMinNormalizedValueExponent (glu::Precision precision)
417 static const char* getPrecisionPostfix (glu::Precision precision)
445 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
453 AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
478 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
490 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
535 SignCase (Context& context, glu::DataType baseType, glu::Precision precisio
[all...]
H A Des31fShaderIntegerFunctionTests.cpp111 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision)
137 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues)
322 static const char* getPrecisionPostfix (glu::Precision precision)
350 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
358 UaddCarryCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
372 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
426 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
454 UsubBorrowCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
468 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
520 const glu::Precision precisio
[all...]
H A Des31fShaderAtomicOpTests.cpp68 ShaderAtomicOpCase (Context& context, const char* name, const char* funcName, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize);
82 const Precision m_precision;
96 ShaderAtomicOpCase::ShaderAtomicOpCase (Context& context, const char* name, const char* funcName, AtomicOperandType operandType, DataType type, Precision precision, const UVec3& workGroupSize)
258 ShaderAtomicAddCase (Context& context, const char* name, AtomicOperandType operandType, DataType type, Precision precision)
347 static int getPrecisionNumIntegerBits (glu::Precision precision)
366 static bool intEqualsAfterUintCast (deInt32 value, deUint32 casted, glu::Precision precision)
393 static bool containsAfterUintCast (const std::set<deInt32>& haystack, deUint32 needle, glu::Precision precision)
401 static bool containsAfterUintCast (const std::set<deUint32>& haystack, deInt32 needle, glu::Precision precision)
412 ShaderAtomicMinCase (Context& context, const char* name, AtomicOperandType operandType, DataType type, Precision precision)
493 ShaderAtomicMaxCase (Context& context, const char* name, AtomicOperandType operandType, DataType type, Precision precisio
[all...]
H A Des31fShaderSharedVarTests.cpp73 SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize);
85 const Precision m_precision;
91 static std::string getBasicCaseDescription (DataType basicType, Precision precision, const tcu::UVec3& workGroupSize)
100 SharedBasicVarCase::SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize)
379 const string name = string(getDataTypeName(DataType(basicType))) + "_" + getPrecisionName(Precision(precision));
381 basicTypeGroup->addChild(new SharedBasicVarCase(m_context, name.c_str(), DataType(basicType), Precision(precision), workGroupSize));
/external/deqp/modules/gles2/accuracy/
H A Des2aVaryingInterpolationTests.cpp100 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)
125 static bool isValidFloat (glu::Precision precision, float val)
140 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec)
302 glu::Precision 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));
/external/deqp/modules/gles3/accuracy/
H A Des3aVaryingInterpolationTests.cpp103 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)
128 static bool isValidFloat (glu::Precision precision, float val)
143 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec)
309 glu::Precision 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));
/external/deqp/framework/randomshaders/
H A DrsgVariableType.hpp53 enum Precision enum in class:rsg::VariableType
138 Precision getPrecision (void) const { return m_precision; }
170 Precision m_precision;
/external/deqp/modules/gles3/functional/
H A Des3fShaderCommonFunctionTests.cpp123 inline bool supportsSignedZero (glu::Precision precision)
149 static int getMinMantissaBits (glu::Precision precision)
390 static const char* getPrecisionPostfix (glu::Precision precision)
414 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
422 AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
447 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
459 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
504 SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType)
529 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision();
552 const glu::Precision precisio
[all...]
H A Des3fShaderDerivateTests.cpp222 static int getNumMantissaBits (const glu::Precision precision)
235 static int getMinExponent (const glu::Precision precision)
326 static inline tcu::Vec4 getDerivateThreshold (const glu::Precision precision, const tcu::Vec4& valueMin, const tcu::Vec4& valueMax, const tcu::Vec4& expectedDerivate)
440 glu::Precision precision,
575 glu::Precision m_precision;
578 glu::Precision m_coordPrecision;
610 static std::string genVertexSource (glu::DataType coordType, glu::Precision precision)
939 LinearDerivateCase (Context& context, const char* name, const char* description, DerivateFunc func, glu::DataType type, glu::Precision precision, deUint32 hint, SurfaceType surfaceType, int numSamples, const char* fragmentSrcTmpl);
952 LinearDerivateCase::LinearDerivateCase (Context& context, const char* name, const char* description, DerivateFunc func, glu::DataType type, glu::Precision precision, deUint32 hint, SurfaceType surfaceType, int numSamples, const char* fragmentSrcTmpl)
1138 TextureDerivateCase (Context& context, const char* name, const char* description, DerivateFunc func, glu::DataType type, glu::Precision precisio
[all...]
H A Des3fShaderPrecisionTests.cpp64 static glu::ShaderProgram* createFloatPrecisionEvalProgram (const glu::RenderContext& context, glu::Precision precision, const char* evalOp, bool isVertexCase)
124 static glu::ShaderProgram* createIntUintPrecisionEvalProgram (const glu::RenderContext& context, glu::DataType type, glu::Precision precision, const char* evalOp, bool isVertexCase)
182 ShaderFloatPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, const tcu::Vec2& rangeA, const tcu::Vec2& rangeB, bool isVertexCase);
220 glu::Precision m_precision;
236 ShaderFloatPrecisionCase::ShaderFloatPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, const tcu::Vec2& rangeA, const tcu::Vec2& rangeB, bool isVertexCase)
457 ShaderIntPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int bits, const tcu::IVec2& rangeA, const tcu::IVec2& rangeB, bool isVertexCase);
471 glu::Precision m_precision;
488 ShaderIntPrecisionCase::ShaderIntPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int bits, const tcu::IVec2& rangeA, const tcu::IVec2& rangeB, bool isVertexCase)
656 ShaderUintPrecisionCase (Context& context, const char* name, const char* desc, const char* op, EvalFunc evalFunc, glu::Precision precision, int bits, const tcu::UVec2& rangeA, const tcu::UVec2& rangeB, bool isVertexCase);
670 glu::Precision m_precisio
[all...]
H A Des3fFragmentOutputTests.cpp103 FragmentOutput (glu::DataType type_, glu::Precision precision_, int location_, int arrayLength_ = 0)
112 glu::Precision precision;
338 static Vec2 getFloatRange (glu::Precision precision)
352 static IVec2 getIntRange (glu::Precision precision)
365 static UVec2 getUintRange (glu::Precision precision)
473 glu::Precision outPrecision;
809 const glu::Precision outPrecision = attachments[attachNdx].outPrecision;
913 static const glu::Precision precisions[] =
982 glu::Precision precision = rnd.choose<glu::Precision>(
[all...]
/external/deqp/framework/opengl/
H A DgluVarType.hpp53 VarType (DataType basicType, Precision precision); //!< Basic type constructor.
63 Precision getPrecision (void) const { DE_ASSERT(isBasicType()); return m_data.basic.precision; }
99 Precision precision;
121 inline VarType varTypeOf (Precision prec = PRECISION_LAST) { return VarType(dataTypeOf<T>(), prec); }
/external/chromium_org/third_party/skia/src/gpu/gl/builders/
H A DGrGLFragmentShaderBuilder.h102 GrGLShaderVar::Precision fsPrecision = GrGLShaderVar::kDefault_Precision);
H A DGrGLFragmentShaderBuilder.cpp17 static const GrGLShaderVar::Precision kDefaultFragmentPrecision = GrGLShaderVar::kMedium_Precision;
21 inline void append_default_precision_qualifier(GrGLShaderVar::Precision p,
204 GrGLShaderVar::Precision fsPrecision) {
H A DGrGLFullProgramBuilder.h27 GrGLShaderVar::Precision fsPrecision=GrGLShaderVar::kDefault_Precision);
/external/clang/include/clang/Analysis/Analyses/
H A DFormatString.h425 OptionalAmount Precision; member in class:clang::analyze_printf::PrintfSpecifier
471 Precision = Amt;
472 Precision.setUsesDotPrefix();
476 return Precision;
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_printf_test.cc146 TEST(Printf, Precision) {
/external/chromium_org/third_party/WebKit/Source/platform/
H A DDecimal.cpp47 static int const Precision = 18; member in namespace:blink::DecimalPrivate
213 ASSERT(n < Precision);
582 const int overflow = numberOfLHSDigits + lhsShiftAmount - Precision;
596 const int overflow = numberOfRHSDigits + rhsShiftAmount - Precision;
732 if (numberOfDigits < Precision) {
749 if (numberOfDigits < Precision) {
787 if (exponent > ExponentMax + Precision) {
873 if (overflow + numberOfDigits - numberOfDigitsAfterDot > Precision)
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Di915_context.c256 ctx->Const.FragmentProgram.MediumFloat.Precision = 23;
261 ctx->Const.FragmentProgram.MediumInt.Precision = 0;

Completed in 1116 milliseconds

1234