/external/deqp/modules/gles2/functional/ |
es2fShaderInvarianceTests.cpp | 466 glu::Precision prec; 491 const glu::Precision precision = precisions[precNdx].prec; local 492 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, precisionName, "Invariance tests using the given precision."); 632 // shared subexpression of different precision 636 const char* const unrelatedPrec = glu::getPrecisionName((glu::Precision)precisionOther); 637 const glu::Precision minPrecision = (precisionOther < (int)precision) ? ((glu::Precision)precisionOther) : (precision); [all...] |
es2fShaderMatrixTests.cpp | 112 ShaderInput (InputType inputType_, DataType dataType_, Precision precision_) 115 , precision (precision_) 121 Precision precision; member in struct:deqp::gles2::Functional::MatrixCaseUtils::ShaderInput 780 Precision resultPrec = m_in0.precision; 827 const char* precName = getPrecisionName(in.precision); 1165 Precision precision = precisions[precNdx]; local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderInvarianceTests.cpp | 468 glu::Precision prec; 493 const glu::Precision precision = precisions[precNdx].prec; local 494 tcu::TestCaseGroup* const group = new tcu::TestCaseGroup(m_testCtx, precisionName, "Invariance tests using the given precision."); 634 // shared subexpression of different precision 638 const char* const unrelatedPrec = glu::getPrecisionName((glu::Precision)precisionOther); 639 const glu::Precision minPrecision = (precisionOther < (int)precision) ? ((glu::Precision)precisionOther) : (precision); [all...] |
es3fTransformFeedbackTests.cpp | 540 const glu::Precision precision = attrib.type.getPrecision(); local 551 switch (precision) 563 switch (precision) 575 switch (precision) 727 glu::Precision precision = attribute.type.getPrecision(); local 746 switch (precision) [all...] |
es3fShaderPackingFunctionTests.cpp | 120 static const char* getPrecisionPostfix (glu::Precision precision) 129 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 130 return s_postfix[precision]; 147 PackSnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) 148 : ShaderPackingFunctionCase (context, (string("packsnorm2x16") + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType)).c_str(), "packSnorm2x16", shaderType) 149 , m_precision (precision) 151 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); 245 glu::Precision m_precision [all...] |
es3fShaderLoopTests.cpp | 244 static ShaderLoopCase* createGenericLoopCase (Context& context, const char* caseName, const char* description, bool isVertexCase, LoopType loopType, LoopCountType loopCountType, Precision loopCountPrecision, DataType loopCountDataType) 305 vtx << " ${PRECISION} vec4 coords = a_coords;\n"; 307 frag << " ${PRECISION} vec4 coords = v_coords;\n"; 328 op << " ${PRECISION} vec4 res = coords;\n"; 428 params.insert(pair<string, string>("PRECISION", "mediump")); 504 vtx << " ${PRECISION} vec4 coords = a_coords;\n"; 506 frag << " ${PRECISION} vec4 coords = v_coords;\n"; 509 op << " ${PRECISION} vec4 res = coords;\n"; 1108 params.insert(pair<string, string>("PRECISION", "mediump")); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fShaderPackingFunctionTests.cpp | 120 static const char* getPrecisionPostfix (glu::Precision precision) 129 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 130 return s_postfix[precision]; 151 PackSnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) 152 : ShaderPackingFunctionCase (context, (string("packsnorm2x16") + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType)).c_str(), "packSnorm2x16", shaderType) 153 , m_precision (precision) 155 m_spec.inputs.push_back(Symbol("in0", glu::VarType(glu::TYPE_FLOAT_VEC2, precision))); 249 glu::Precision m_precision [all...] |
es31fSSBOLayoutTests.cpp | 293 glu::Precision precision; local 297 // Precision. 298 static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP, glu::PRECISION_HIGHP }; 299 precision = rnd.choose<glu::Precision>(&precisionCandidates[0], &precisionCandidates[DE_LENGTH_OF_ARRAY(precisionCandidates)]); 302 precision = glu::PRECISION_LAST; 304 return glu::VarType(type, precision); 823 const glu::Precision precision = glu::Precision(precNdx) local 836 const glu::Precision precision = glu::Precision(precNdx); local [all...] |
/external/clang/lib/Analysis/ |
PrintfFormatString.cpp | 160 // Look for the precision (if any). 572 Precision.setHowSpecified(OptionalAmount::NotSpecified); 694 Precision.setHowSpecified(OptionalAmount::NotSpecified); 737 // Precision 738 Precision.toString(os); 891 if (Precision.getHowSpecified() == OptionalAmount::NotSpecified) 894 // Precision is only valid with the diouxXaAeEfFgGs conversions
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_printf_test.cc | 143 TEST(Printf, Precision) {
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
fpieee.h | 139 unsigned int Precision : 3;
|
sql.h | 534 SQLRETURN SQL_API SQLGetDescRec(SQLHDESC DescriptorHandle,SQLSMALLINT RecNumber,SQLCHAR *Name,SQLSMALLINT BufferLength,SQLSMALLINT *StringLength,SQLSMALLINT *Type,SQLSMALLINT *SubType,SQLLEN *Length,SQLSMALLINT *Precision,SQLSMALLINT *Scale,SQLSMALLINT *Nullable); 558 SQLRETURN SQL_API SQLSetDescRec(SQLHDESC DescriptorHandle,SQLSMALLINT RecNumber,SQLSMALLINT Type,SQLSMALLINT SubType,SQLLEN Length,SQLSMALLINT Precision,SQLSMALLINT Scale,SQLPOINTER Data,SQLLEN *StringLength,SQLLEN *Indicator);
|
/external/llvm/include/llvm/Support/ |
ScaledNumber.h | 278 /// losing precision only when necessary. 329 /// Get the sum of two scaled numbers with as much precision as possible. 369 /// Get LHS minus RHS with as much precision as possible. 426 unsigned Precision); 428 unsigned Precision); 474 /// ScaledNumber implements most arithmetic operations. Precision is kept 583 /// \c Precision indicates the number of decimal digits of precision to use; 587 /// to convert without scientific notation and has more than \c Precision 589 /// digit past zero. E.g., assuming 10 digits of precision [all...] |
/external/deqp/modules/glshared/ |
glsTextureTestUtil.hpp | 195 ProgramLibrary (const glu::RenderContext& context, tcu::TestLog& log, glu::GLSLVersion glslVersion, glu::Precision texCoordPrecision); 208 glu::Precision m_texCoordPrecision; 215 TextureRenderer (const glu::RenderContext& context, tcu::TestLog& log, glu::GLSLVersion glslVersion, glu::Precision texCoordPrecision); 549 qpTestResult compareGenMipmapResult (tcu::TestLog& log, const tcu::Texture2D& resultTexture, const tcu::Texture2D& level0Reference, const GenMipmapPrecision& precision); 550 qpTestResult compareGenMipmapResult (tcu::TestLog& log, const tcu::TextureCube& resultTexture, const tcu::TextureCube& level0Reference, const GenMipmapPrecision& precision);
|
glsBuiltinPrecisionTests.cpp | 21 * \brief Precision and range tests for GLSL builtins and types. 102 using glu::Precision; 136 * In the precision tests we are dealing with functions of different arities. 186 VarType getVarTypeOf (Precision prec = glu::PRECISION_LAST) 192 VarType getVarTypeOf<Void> (Precision) 247 //! Print out an interval with the precision of `fmt`. 262 //! Print out a value with the precision of `fmt`. 277 //! Approximate `value` elementwise to the float precision defined in `fmt`. 596 * point precision and the current variable environment. 602 Precision floatPrecision_ 1833 double precision (const EvalContext&, double, double, double) const function in class:deqp::gls::BuiltinPrecisionTests::InfixOperator 2001 double precision (const EvalContext&, double, double) const { return 0.0; } function in class:deqp::gls::BuiltinPrecisionTests::Functions::Negate 2047 double precision (const EvalContext& ctx, double ret, double, double den) const function in class:deqp::gls::BuiltinPrecisionTests::Functions::Div 2074 double precision (const EvalContext& ctx, double ret, double x) const function in class:deqp::gls::BuiltinPrecisionTests::Functions::InverseSqrt 2091 double precision (const EvalContext& ctx, double ret, double x) const function in class:deqp::gls::BuiltinPrecisionTests::Functions::ExpFunc 2126 double precision (const EvalContext& ctx, double ret, double x) const function in class:deqp::gls::BuiltinPrecisionTests::Functions::LogFunc 2290 double precision (const EvalContext& ctx, double ret, double arg) const function in class:deqp::gls::BuiltinPrecisionTests::Functions::TrigFunc 2364 double precision (const EvalContext& ctx, double, double x) const function in class:deqp::gls::BuiltinPrecisionTests::Functions::ASin 2397 double precision (const EvalContext& ctx, double ret, double x) const function in class:deqp::gls::BuiltinPrecisionTests::Functions::ArcTrigFunc 2467 double precision (const EvalContext& ctx, double ret, double, double) const function in class:deqp::gls::BuiltinPrecisionTests::Functions::ATan2 3174 double precision (const EvalContext&, double, double) const { return 0.0; } function in class:deqp::gls::BuiltinPrecisionTests::Functions::PreciseFunc1 3221 double precision (const EvalContext&, double, double) const { return 0.0; } function in class:deqp::gls::BuiltinPrecisionTests::Functions::Round 3243 double precision (const EvalContext&, double, double, double) const { return 0.0; } function in class:deqp::gls::BuiltinPrecisionTests::Functions::PreciseFunc2 3296 double precision (const EvalContext&, double, double, double minVal, double maxVal) const function in class:deqp::gls::BuiltinPrecisionTests::Functions::Clamp 4319 Precision precision; member in struct:deqp::gls::BuiltinPrecisionTests::Context 5328 const Precision precision = Precision(precNdx); local [all...] |
/external/deqp/modules/gles3/performance/ |
es3pTextureCases.cpp | 97 const glu::Precision samplerPrec = (texFormat.type == tcu::TextureFormat::FLOAT ||
|
es3pShaderOperatorTests.cpp | [all...] |
/external/mesa3d/src/mesa/program/ |
prog_instruction.c | 59 inst[i].Precision = FLOAT32;
|
prog_instruction.h | 109 * Instruction precision for GL_NV_fragment_program 380 * Per-instruction selectable precision: FLOAT32, FLOAT16, FIXED12. 385 GLuint Precision:3;
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
vktSSBOLayoutTests.cpp | 280 glu::Precision precision; local 284 // Precision. 285 static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP, glu::PRECISION_HIGHP }; 286 precision = rnd.choose<glu::Precision>(&precisionCandidates[0], &precisionCandidates[DE_LENGTH_OF_ARRAY(precisionCandidates)]); 289 precision = glu::PRECISION_LAST; 291 return glu::VarType(type, precision); 806 const glu::Precision precision = glu::Precision(precNdx) local 819 const glu::Precision precision = glu::Precision(precNdx); local [all...] |
/external/deqp/modules/gles2/performance/ |
es2pShaderOperatorTests.cpp | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderBuiltinPrecisionTests.cpp | 23 * \brief Precision and range tests for builtins and types. 89 using glu::Precision; 115 * In the precision tests we are dealing with functions of different arities. 165 VarType getVarTypeOf (Precision prec = glu::PRECISION_LAST) 171 VarType getVarTypeOf<Void> (Precision) 226 //! Print out an interval with the precision of `fmt`. 241 //! Print out a value with the precision of `fmt`. 256 //! Approximate `value` elementwise to the float precision defined in `fmt`. 575 * point precision and the current variable environment. 581 Precision floatPrecision_ 1812 double precision (const EvalContext&, double, double, double) const function in class:vkt::shaderexecutor::InfixOperator 1980 double precision (const EvalContext&, double, double) const { return 0.0; } function in class:vkt::shaderexecutor::Functions::Negate 2026 double precision (const EvalContext& ctx, double ret, double, double den) const function in class:vkt::shaderexecutor::Functions::Div 2053 double precision (const EvalContext& ctx, double ret, double x) const function in class:vkt::shaderexecutor::Functions::InverseSqrt 2070 double precision (const EvalContext& ctx, double ret, double x) const function in class:vkt::shaderexecutor::Functions::ExpFunc 2105 double precision (const EvalContext& ctx, double ret, double x) const function in class:vkt::shaderexecutor::Functions::LogFunc 2269 double precision (const EvalContext& ctx, double ret, double arg) const function in class:vkt::shaderexecutor::Functions::TrigFunc 2343 double precision (const EvalContext& ctx, double, double x) const function in class:vkt::shaderexecutor::Functions::ASin 2376 double precision (const EvalContext& ctx, double ret, double x) const function in class:vkt::shaderexecutor::Functions::ArcTrigFunc 2446 double precision (const EvalContext& ctx, double ret, double, double) const function in class:vkt::shaderexecutor::Functions::ATan2 3123 double precision (const EvalContext&, double, double) const { return 0.0; } function in class:vkt::shaderexecutor::Functions::PreciseFunc1 3170 double precision (const EvalContext&, double, double) const { return 0.0; } function in class:vkt::shaderexecutor::Functions::Round 3192 double precision (const EvalContext&, double, double, double) const { return 0.0; } function in class:vkt::shaderexecutor::Functions::PreciseFunc2 3245 double precision (const EvalContext&, double, double, double minVal, double maxVal) const function in class:vkt::shaderexecutor::Functions::Clamp 4265 Precision precision; member in struct:vkt::shaderexecutor::CaseContext 5227 const Precision precision = Precision(precNdx); local [all...] |
/external/deqp/framework/opengl/ |
gluShaderUtil.cpp | 159 // Precision 161 const char* getPrecisionName (Precision precision) 171 DE_ASSERT(deInBounds32((int)precision, 0, PRECISION_LAST)); 172 return s_names[(int)precision];
|
gluVarType.cpp | 42 VarType::VarType (DataType basicType, Precision precision) 46 m_data.basic.precision = precision; 121 m_data.basic.precision == other.m_data.basic.precision;
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_context.c | 266 ctx->Const.FragmentProgram.LowInt.Precision = 0;
|