HomeSort by relevance Sort by last modified time
    Searched refs:Precision (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /external/chromium_org/third_party/skia/include/gpu/
GrShaderVar.h 37 enum Precision {
49 * Defaults to a float with no precision specifier
59 Precision precision = kDefault_Precision)
64 , fPrecision(precision) {
69 Precision precision = kDefault_Precision)
74 , fPrecision(precision) {
79 int arrayCount = kNonArray, Precision precision = kDefault_Precision
    [all...]
  /external/skia/src/gpu/gl/
GrGLShaderVar.h 39 enum Precision {
59 * Defaults to a float with no precision specifier
71 Precision precision = kDefault_Precision) {
76 fPrecision = precision;
107 Precision precision = kDefault_Precision,
115 fPrecision = precision;
126 Precision precision = kDefault_Precision
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/program/
program_parse_extra.c 44 inst->Precision = FLOAT32;
47 /* The first possible suffix element is the precision specifier from
53 inst->Precision = FLOAT16;
57 inst->Precision = FLOAT32;
61 inst->Precision = FIXED12;
  /external/mesa3d/src/mesa/program/
program_parse_extra.c 44 inst->Precision = FLOAT32;
47 /* The first possible suffix element is the precision specifier from
53 inst->Precision = FLOAT16;
57 inst->Precision = FLOAT32;
61 inst->Precision = FIXED12;
  /external/llvm/lib/Support/
ScaledNumber.cpp 46 // Shift as little as possible to maximize precision.
62 // Use 64-bit math and canonicalize the dividend to gain precision.
162 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);
252 // digits. Save the precision we're losing in Extra.
274 (!Precision || DigitsOut <= Precision || SinceDot < 2));
276 // Return early for maximum precision
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGLShaderVar.h 31 * Defaults to a float with no precision specifier
40 Precision precision = kDefault_Precision)
41 : GrShaderVar(name, type, arrayCount, precision)
50 int arrayCount = kNonArray, Precision precision = kDefault_Precision)
51 : GrShaderVar(name, type, typeModifier, arrayCount, precision)
86 Precision precision = kDefault_Precision,
90 INHERITED::set(type, typeModifier, name, precision);
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
icrsint.h 39 #define ADO_NUMERIC_ENTRY(Ordinal,DataType,Buffer,Precision,Scale,Status,Modify) {Ordinal,DataType,Precision,Scale,0,offsetof(ADORowClass,Buffer),offsetof(ADORowClass,Status),0,classoffset(CADORecordBinding,ADORowClass),Modify},
40 #define ADO_NUMERIC_ENTRY2(Ordinal,DataType,Buffer,Precision,Scale,Modify) {Ordinal,DataType,Precision,Scale,0,offsetof(ADORowClass,Buffer),0,0,classoffset(CADORecordBinding,ADORowClass),Modify},
  /external/deqp/modules/gles31/functional/
es31fShaderCommonFunctionTests.cpp 124 inline bool supportsSignedZero (glu::Precision precision)
128 return precision == glu::PRECISION_HIGHP;
150 static int getMinMantissaBits (glu::Precision precision)
159 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(bits)));
160 return bits[precision];
163 static int getMaxNormalizedValueExponent (glu::Precision precision)
172 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(exponent)))
478 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
490 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
560 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
583 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
660 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
690 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
772 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
781 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
835 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
858 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
918 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
941 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1008 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1017 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1132 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1148 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1228 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1254 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1336 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1366 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1464 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1481 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1569 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1599 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
    [all...]
es31fShaderIntegerFunctionTests.cpp 111 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision)
117 return bitCounts[precision];
137 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues)
140 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision);
322 static const char* getPrecisionPostfix (glu::Precision precision)
331 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(s_postfix)));
332 return s_postfix[precision];
372 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
426 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
468 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
520 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
743 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
807 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
830 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
881 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
890 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
930 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
939 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
990 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
999 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1068 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1077 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
    [all...]
es31fShaderAtomicOpTests.cpp 68 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)
101 , m_precision (precision)
258 ShaderAtomicAddCase (Context& context, const char* name, AtomicOperandType operandType, DataType type, Precision precision)
259 : ShaderAtomicOpCase(context, name, "atomicAdd", operandType, type, precision, UVec3(3,2,1))
347 static int getPrecisionNumIntegerBits (glu::Precision precision
    [all...]
es31fShaderSharedVarTests.cpp 73 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)
94 if (precision != PRECISION_LAST)
95 str << getPrecisionName(precision) << " ";
100 SharedBasicVarCase::SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, const tcu::UVec3& workGroupSize)
101 : TestCase (context, name, getBasicCaseDescription(basicType, precision, workGroupSize).c_str()
    [all...]
  /external/deqp/modules/gles2/accuracy/
es2aVaryingInterpolationTests.cpp 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
    [all...]
  /external/deqp/modules/gles3/accuracy/
es3aVaryingInterpolationTests.cpp 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
    [all...]
  /external/deqp/framework/randomshaders/
rsgVariableType.hpp 53 enum Precision
138 Precision getPrecision (void) const { return m_precision; }
170 Precision m_precision;
  /frameworks/compile/slang/
slang_rs_pragma_handler.cpp 181 std::string Precision = getName();
183 if (Precision == "rs_fp_imprecise") {
188 Precision = "rs_fp_relaxed";
190 // Check if we have already encountered a precision pragma already.
194 if (PreviousPrecision != Precision) {
205 mContext->addPragma(Precision, "");
206 mContext->setPrecision(Precision);
  /external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/closure/goog/i18n/
pluralrules.js 46 * @param {number=} opt_precision optional, precision.
71 * @param {number=} opt_precision optional, precision.
116 * @param {number=} opt_precision Precision for number formatting, if not default.
140 * @param {number=} opt_precision Precision for number formatting, if not default.
160 * @param {number=} opt_precision Precision for number formatting, if not default.
177 * @param {number=} opt_precision Precision for number formatting, if not default.
193 * @param {number=} opt_precision Precision for number formatting, if not default.
210 * @param {number=} opt_precision Precision for number formatting, if not default.
231 * @param {number=} opt_precision Precision for number formatting, if not default.
249 * @param {number=} opt_precision Precision for number formatting, if not default
    [all...]
  /external/deqp/modules/gles3/functional/
es3fShaderCommonFunctionTests.cpp 123 inline bool supportsSignedZero (glu::Precision precision)
127 return precision == glu::PRECISION_HIGHP;
149 static int getMinMantissaBits (glu::Precision precision)
158 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(bits)));
159 return bits[precision];
390 static const char* getPrecisionPostfix (glu::Precision precision)
399 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(s_postfix)))
447 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
459 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
529 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
552 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
629 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
659 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
741 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
750 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
804 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
827 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
885 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
908 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
972 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
981 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1096 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1112 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1192 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1218 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1300 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1330 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1428 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1445 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1533 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
1563 const glu::Precision precision = m_spec.inputs[0].varType.getPrecision(); local
    [all...]
es3fShaderDerivateTests.cpp 222 static int getNumMantissaBits (const glu::Precision precision)
224 switch (precision)
235 static int getMinExponent (const glu::Precision precision)
237 switch (precision)
326 static inline tcu::Vec4 getDerivateThreshold (const glu::Precision precision, const tcu::Vec4& valueMin, const tcu::Vec4& valueMax, const tcu::Vec4& expectedDerivate)
328 const int baseBits = getNumMantissaBits(precision);
440 glu::Precision precision
1436 glu::Precision precision; member in struct:deqp::gles3::Functional::FunctionSpec
1691 const glu::Precision precision = glu::Precision(precNdx); local
1721 const glu::Precision precision = glu::Precision(precNdx); local
1755 const glu::Precision precision = glu::Precision(precNdx); local
1787 const glu::Precision precision = glu::Precision(precNdx); local
    [all...]
es3fShaderPrecisionTests.cpp 21 * \brief Shader precision tests.
64 static glu::ShaderProgram* createFloatPrecisionEvalProgram (const glu::RenderContext& context, glu::Precision precision, const char* evalOp, bool isVertexCase)
70 const char* precName = glu::getPrecisionName(precision);
124 static glu::ShaderProgram* createIntUintPrecisionEvalProgram (const glu::RenderContext& context, glu::DataType type, glu::Precision precision, const char* evalOp, bool isVertexCase)
127 const char* precName = glu::getPrecisionName(precision);
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
885 glu::Precision precision; member in struct:deqp::gles3::Functional::__anon3775
906 glu::Precision precision; member in struct:deqp::gles3::Functional::__anon3776
932 glu::Precision precision; member in struct:deqp::gles3::Functional::__anon3777
    [all...]
es3fFragmentOutputTests.cpp 97 , precision (glu::PRECISION_LAST)
103 FragmentOutput (glu::DataType type_, glu::Precision precision_, int location_, int arrayLength_ = 0)
105 , precision (precision_)
112 glu::Precision precision; member in struct:deqp::gles3::Functional::FragmentOutput
184 const char* precName = glu::getPrecisionName(output.precision);
338 static Vec2 getFloatRange (glu::Precision precision)
348 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(ranges)));
349 return ranges[precision];
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/gl/builders/
GrGLFragmentShaderBuilder.h 102 GrGLShaderVar::Precision fsPrecision = GrGLShaderVar::kDefault_Precision);
GrGLFragmentShaderBuilder.cpp 17 static const GrGLShaderVar::Precision kDefaultFragmentPrecision = GrGLShaderVar::kMedium_Precision;
21 inline void append_default_precision_qualifier(GrGLShaderVar::Precision p,
24 // Desktop GLSL has added precision qualifiers but they don't do anything.
28 str->append("precision highp float;\n");
31 str->append("precision mediump float;\n");
34 str->append("precision lowp float;\n");
37 SkFAIL("Default precision now allowed.");
39 SkFAIL("Unknown precision value.");
204 GrGLShaderVar::Precision fsPrecision) {
GrGLFullProgramBuilder.h 27 GrGLShaderVar::Precision fsPrecision=GrGLShaderVar::kDefault_Precision);
  /external/deqp/framework/opengl/
gluVarType.hpp 53 VarType (DataType basicType, Precision precision); //!< Basic type constructor.
63 Precision getPrecision (void) const { DE_ASSERT(isBasicType()); return m_data.basic.precision; }
99 Precision precision; member in struct:glu::VarType::Data::__anon3463
121 inline VarType varTypeOf (Precision prec = PRECISION_LAST) { return VarType(dataTypeOf<T>(), prec); }
  /external/clang/include/clang/Analysis/Analyses/
FormatString.h 425 OptionalAmount Precision;
471 Precision = Amt;
472 Precision.setUsesDotPrefix();
476 return Precision;

Completed in 675 milliseconds

1 2 3 4