/external/deqp/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 294 DE_STATIC_ASSERT(glu::PRECISION_LOWP+1 == glu::PRECISION_MEDIUMP); in init() 311 …{ "zero_to_one", Vec3( 0.0f, 0.0f, 0.0f), Vec3( 1.0f, 1.0f, 1.0f), glu::PRECISION_LOWP … in init() 312 …_to_minus_one", Vec3( 0.0f, 0.0f, 0.0f), Vec3( -1.0f, -1.0f, -1.0f), glu::PRECISION_LOWP }, in init() 313 …us_one_to_one", Vec3( -1.0f, -1.0f, -1.0f), Vec3( 1.0f, 1.0f, 1.0f), glu::PRECISION_LOWP }, in init() 320 for (int precision = glu::PRECISION_LOWP; precision <= glu::PRECISION_HIGHP; precision++) in init()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 287 DE_STATIC_ASSERT(glu::PRECISION_LOWP+1 == glu::PRECISION_MEDIUMP); in init() 304 …{ "zero_to_one", Vec3( 0.0f, 0.0f, 0.0f), Vec3( 1.0f, 1.0f, 1.0f), glu::PRECISION_LOWP … in init() 305 …_to_minus_one", Vec3( 0.0f, 0.0f, 0.0f), Vec3( -1.0f, -1.0f, -1.0f), glu::PRECISION_LOWP }, in init() 306 …us_one_to_one", Vec3( -1.0f, -1.0f, -1.0f), Vec3( 1.0f, 1.0f, 1.0f), glu::PRECISION_LOWP }, in init() 313 for (int precision = glu::PRECISION_LOWP; precision <= glu::PRECISION_HIGHP; precision++) in init()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderInvarianceTests.cpp | 487 …{ glu::PRECISION_LOWP, "lowp", "0.9", "1.1", "1.1", "1.15", "0.87", 6, 2, 0, "2.0", "1.1",… in init() 636 …for (int precisionOther = glu::PRECISION_LOWP; precisionOther != glu::PRECISION_LAST; ++precisionO… in init() 640 …const char* const multiplierStr = (minPrecision == glu::PRECISION_LOWP) ? ("0.8, 0.4, -0.2, 0.… in init() 641 …const char* const normalizationStrUsed = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(us… in init() 642 …const char* const normalizationStrUnrelated = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(frac… in init()
|
D | es3fShaderPrecisionTests.cpp | 916 { "lowp_add", "in0 + in1", add<int>, glu::PRECISION_LOWP, 8, fullRange8I, fullRange8I }, in init() 917 { "lowp_sub", "in0 - in1", sub<int>, glu::PRECISION_LOWP, 8, fullRange8I, fullRange8I }, in init() 918 { "lowp_mul", "in0 * in1", mul<int>, glu::PRECISION_LOWP, 8, fullRange8I, fullRange8I }, in init() 919 { "lowp_div", "in0 / in1", div<int>, glu::PRECISION_LOWP, 8, fullRange8I, IVec2(-50, -1) } in init() 942 { "lowp_add", "in0 + in1", add<deUint32>, glu::PRECISION_LOWP, 8, fullRange8U, fullRange8U }, in init() 943 { "lowp_sub", "in0 - in1", sub<deUint32>, glu::PRECISION_LOWP, 8, fullRange8U, fullRange8U }, in init() 944 { "lowp_mul", "in0 * in1", mul<deUint32>, glu::PRECISION_LOWP, 8, fullRange8U, fullRange8U }, in init() 945 { "lowp_div", "in0 / in1", div<deUint32>, glu::PRECISION_LOWP, 8, fullRange8U, UVec2(1, 50u) } in init()
|
D | es3fShaderPackingFunctionTests.cpp | 164 m_precision == glu::PRECISION_LOWP ? 129 : 0; // (2^-8) * (2^15) + 1 in iterate() 355 m_precision == glu::PRECISION_LOWP ? 257 : 0; // (2^-8) * (2^16) + 1 in iterate() 753 addChild(new PackSnorm2x16Case (m_context, glu::SHADERTYPE_VERTEX, glu::PRECISION_LOWP)); in init() 754 addChild(new PackSnorm2x16Case (m_context, glu::SHADERTYPE_FRAGMENT, glu::PRECISION_LOWP)); in init() 763 addChild(new PackUnorm2x16Case (m_context, glu::SHADERTYPE_VERTEX, glu::PRECISION_LOWP)); in init() 764 addChild(new PackUnorm2x16Case (m_context, glu::SHADERTYPE_FRAGMENT, glu::PRECISION_LOWP)); in init()
|
D | es3fShaderDerivateTests.cpp | 228 case glu::PRECISION_LOWP: return 6; in getNumMantissaBits() 241 case glu::PRECISION_LOWP: return -8; in getMinExponent() 1009 case glu::PRECISION_LOWP: in init() 1241 case glu::PRECISION_LOWP: in init() 1697 if (caseNdx != 0 && precision == glu::PRECISION_LOWP) in init() 1725 if (surfaceType != SURFACETYPE_FLOAT_FBO && precision == glu::PRECISION_LOWP) in init() 1758 if (surfaceType != SURFACETYPE_FLOAT_FBO && precision == glu::PRECISION_LOWP) in init() 1790 if (surfaceType != SURFACETYPE_FLOAT_FBO && precision == glu::PRECISION_LOWP) in init()
|
D | es3fTransformFeedbackTests.cpp | 553 case glu::PRECISION_LOWP: *comp = 0.0f + 0.25f*(float)rnd.getInt(0, 4); break; in genAttributeData() 565 case glu::PRECISION_LOWP: *comp = (int)signExtend(rnd.getUint32()&0xff, 8); break; in genAttributeData() 577 case glu::PRECISION_LOWP: *comp = rnd.getUint32()&0xff; break; in genAttributeData() 750 case glu::PRECISION_LOWP: in compareTransformFeedbackOutput() 1430 glu::PRECISION_LOWP, in init() 1600 glu::PRECISION_LOWP, in init()
|
D | es3fShaderCommonFunctionTests.cpp | 558 …const deUint32 maxUlpDiff = precision == glu::PRECISION_LOWP ? getMaxUlpDiffFromBits(getMinMantiss… in compare() 634 if (precision != glu::PRECISION_LOWP) in getInputValues() 1305 if (precision != glu::PRECISION_LOWP) in getInputValues() 1538 if (precision != glu::PRECISION_LOWP) in getInputValues() 1656 for (int prec = glu::PRECISION_LOWP; prec <= glu::PRECISION_HIGHP; prec++) in addFunctionCases()
|
D | es3fFragmentOutputTests.cpp | 914 case glu::PRECISION_LOWP: outTypeThreshold = (1<<(23-8)); break; in iterate() 989 glu::PRECISION_LOWP, in createRandomCase() 1145 glu::PRECISION_LOWP, in init()
|
D | es3fShaderOperatorTests.cpp | 252 PRECMASK_LOWP = (1<<PRECISION_LOWP), 328 case PRECISION_LOWP: intPrecisionGL = GL_LOW_INT; break; in getGLSLUintMaxAsFloat() 386 case SYMBOL_LOWP_UINT_MAX: return getGLSLUintMaxAsFloat(gl, shaderType, PRECISION_LOWP); in getValue() 389 …_LOWP_UINT_MAX_RECIPROCAL: return 1.0f / getGLSLUintMaxAsFloat(gl, shaderType, PRECISION_LOWP); in getValue() 392 …float)std::numeric_limits<deUint32>::max() / getGLSLUintMaxAsFloat(gl, shaderType, PRECISION_LOWP); in getValue()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderInvarianceTests.cpp | 485 …{ glu::PRECISION_LOWP, "lowp", "0.9", "1.1", "1.1", "1.15", "0.87", 6, 2, 0, "2.0", "1.1",… in init() 634 …for (int precisionOther = glu::PRECISION_LOWP; precisionOther != glu::PRECISION_LAST; ++precisionO… in init() 638 …const char* const multiplierStr = (minPrecision == glu::PRECISION_LOWP) ? ("0.8, 0.4, -0.2, 0.… in init() 639 …const char* const normalizationStrUsed = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(us… in init() 640 …const char* const normalizationStrUnrelated = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(frac… in init()
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderSharedVarTests.cpp | 195 const int maxInt = m_precision == glu::PRECISION_LOWP ? 2 : 1024; in iterate() 214 const int maxInt = m_precision == glu::PRECISION_LOWP ? 64 : 1024; in iterate() 233 const deUint32 maxInt = m_precision == glu::PRECISION_LOWP ? 128 : 1024; in iterate() 269 const int maxInt = m_precision == glu::PRECISION_LOWP ? 2 : 1024; in iterate()
|
D | es31fSSBOLayoutTests.cpp | 298 …static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP,… in generateType() 402 block.addMember(BufferVar("u", VarType(glu::TYPE_UINT, glu::PRECISION_LOWP), 0 /* no access */)); in init() 442 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in init() 482 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in init() 517 …block.addMember(BufferVar("u", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in init() 560 block.addMember(BufferVar("u", VarType(glu::TYPE_UINT, glu::PRECISION_LOWP), 0 /* no access */)); in init() 610 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in init() 651 …blockA.addMember(BufferVar("b", VarType(glu::TYPE_UINT_VEC3, glu::PRECISION_LOWP), 0 /* no access … in init() 658 blockB.addMember(BufferVar("b", VarType(glu::TYPE_INT_VEC2, glu::PRECISION_LOWP), ACCESS_READ)); in init() 691 typeS.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_LOWP)); in init() [all …]
|
D | es31fShaderAtomicOpTests.cpp | 268 const int maxVal = m_precision == PRECISION_LOWP ? 2 : 32; in getInputs() 353 case glu::PRECISION_LOWP: return 9; in getPrecisionNumIntegerBits() 415 m_initialValue = m_precision == PRECISION_LOWP ? 100 : 1000; in ShaderAtomicMinCase() 423 const int maxVal = m_precision == PRECISION_LOWP ? 100 : 1000; in getInputs() 497 m_initialValue = isSigned ? (m_precision == PRECISION_LOWP ? -100 : -1000) : 0; in ShaderAtomicMaxCase() 505 const int maxVal = m_precision == PRECISION_LOWP ? 100 : 1000; in getInputs()
|
D | es31fShaderIntegerFunctionTests.cpp | 364 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UaddCarryCase() 460 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UsubBorrowCase() 922 m_spec.outputs.push_back(Symbol("count", glu::VarType(intType, glu::PRECISION_LOWP))); in BitCountCase() 982 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(intType, glu::PRECISION_LOWP))); in FindLSBCase() 1060 m_spec.outputs.push_back(Symbol("msb", glu::VarType(intType, glu::PRECISION_LOWP))); in FindMSBCase() 1130 for (int prec = glu::PRECISION_LOWP; prec <= glu::PRECISION_HIGHP; prec++) in addFunctionCases()
|
D | es31fNegativeAtomicCounterTests.cpp | 106 …shader << "layout (binding = 1, offset = 0) " << glu::getPrecisionName(glu::PRECISION_LOWP) << " u… in genShaderSource()
|
D | es31fShaderCommonFunctionTests.cpp | 206 const bool zeroNotRepresentable = (precision == glu::PRECISION_LOWP); in makeFloatRepresentable() 636 …const deUint32 maxUlpDiff = precision == glu::PRECISION_LOWP ? getMaxUlpDiffFromBits(getMinMantiss… in compare() 712 if (precision != glu::PRECISION_LOWP) in getInputValues() 924 else if (precision == glu::PRECISION_MEDIUMP || precision == glu::PRECISION_LOWP) in compare() 1388 if (precision != glu::PRECISION_LOWP) in getInputValues() 1621 if (precision != glu::PRECISION_LOWP) in getInputValues() 2141 for (int prec = glu::PRECISION_LOWP; prec <= glu::PRECISION_HIGHP; prec++) in addFunctionCases()
|
D | es31fShaderPackingFunctionTests.cpp | 168 m_precision == glu::PRECISION_LOWP ? 129 : 0; // (2^-8) * (2^15) + 1 in iterate() 359 m_precision == glu::PRECISION_LOWP ? 257 : 0; // (2^-8) * (2^16) + 1 in iterate() 766 m_precision == glu::PRECISION_LOWP ? 2 : 0; // (2^-8) * (2^7) + 1 in iterate() 975 m_precision == glu::PRECISION_LOWP ? 2 : 0; // (2^-8) * (2^8) + 1 in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutTests.cpp | 285 …static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP,… in generateType() 387 block.addMember(BufferVar("u", VarType(glu::TYPE_UINT, glu::PRECISION_LOWP), 0 /* no access */)); in BlockSingleStructArrayCase() 425 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockSingleNestedStructCase() 463 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockSingleNestedStructArrayCase() 496 …block.addMember(BufferVar("u", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockUnsizedStructArrayCase() 537 block.addMember(BufferVar("u", VarType(glu::TYPE_UINT, glu::PRECISION_LOWP), 0 /* no access */)); in Block2LevelUnsizedStructArrayCase() 585 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockUnsizedNestedStructArrayCase() 624 …blockA.addMember(BufferVar("b", VarType(glu::TYPE_UINT_VEC3, glu::PRECISION_LOWP), 0 /* no access … in BlockMultiBasicTypesCase() 631 blockB.addMember(BufferVar("b", VarType(glu::TYPE_INT_VEC2, glu::PRECISION_LOWP), ACCESS_READ)); in BlockMultiBasicTypesCase() 662 typeS.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_LOWP)); in BlockMultiNestedStructCase() [all …]
|
/external/deqp/framework/opengl/ |
D | gluShaderUtil.hpp | 86 PRECISION_LOWP = 0, enumerator
|
/external/deqp/modules/gles2/performance/ |
D | es2pShaderOperatorTests.cpp | 1144 …tPrecision = glu::isDataTypeIntOrIVec(m_type) && m_precision == glu::PRECISION_LOWP ? "mediump" : … in generateSingleProgramData() 1483 …Precision == DE_NULL && isDataTypeIntOrIVec(m_paramTypes[i]) && m_precision == glu::PRECISION_LOWP) in generateSingleProgramData() 1877 PRECISION_LOWP, in init() 1975 PRECMASK_LOWP = (1<<PRECISION_LOWP), in init() 1980 PRECMASK_ALL = (1<<PRECISION_LOWP) | (1<<PRECISION_MEDIUMP) | (1<<PRECISION_HIGHP) in init() 2233 for (int prec = (int)PRECISION_LOWP; prec < (int)PRECISION_LAST; prec++) in init()
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderOperatorTests.cpp | 1144 …tPrecision = glu::isDataTypeIntOrIVec(m_type) && m_precision == glu::PRECISION_LOWP ? "mediump" : … in generateSingleProgramData() 1487 …Precision == DE_NULL && isDataTypeIntOrIVec(m_paramTypes[i]) && m_precision == glu::PRECISION_LOWP) in generateSingleProgramData() 1885 PRECISION_LOWP, in init() 1987 PRECMASK_LOWP = (1<<PRECISION_LOWP), in init() 1992 PRECMASK_ALL = (1<<PRECISION_LOWP) | (1<<PRECISION_MEDIUMP) | (1<<PRECISION_HIGHP) in init() 2278 for (int prec = (int)PRECISION_LOWP; prec < (int)PRECISION_LAST; prec++) in init()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderPackingFunctionTests.cpp | 182 m_precision == glu::PRECISION_LOWP ? 129 : 0; // (2^-8) * (2^15) + 1 in iterate() 407 m_precision == glu::PRECISION_LOWP ? 257 : 0; // (2^-8) * (2^16) + 1 in iterate() 882 m_precision == glu::PRECISION_LOWP ? 2 : 0; // (2^-8) * (2^7) + 1 in iterate() 1127 m_precision == glu::PRECISION_LOWP ? 2 : 0; // (2^-8) * (2^8) + 1 in iterate()
|
D | vktShaderIntegerFunctionTests.cpp | 563 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UaddCarryCase() 672 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UsubBorrowCase() 1235 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(intType, glu::PRECISION_LOWP))); in FindLSBCase() 1300 m_spec.outputs.push_back(Symbol("msb", glu::VarType(intType, glu::PRECISION_LOWP))); in findMSBCase()
|
D | vktShaderCommonFunctionTests.cpp | 210 const bool zeroNotRepresentable = (precision == glu::PRECISION_LOWP); in makeFloatRepresentable() 737 …const deUint32 maxUlpDiff = precision == glu::PRECISION_LOWP ? getMaxUlpDiffFromBits(getMinMantiss… in compare() 828 if (precision != glu::PRECISION_LOWP) in getInputValues() 1065 else if (precision == glu::PRECISION_MEDIUMP || precision == glu::PRECISION_LOWP) in compare() 1643 if (precision != glu::PRECISION_LOWP) in getInputValues() 1906 if (precision != glu::PRECISION_LOWP) in getInputValues()
|