Home
last modified time | relevance | path

Searched refs:PRECISION_LOWP (Results 1 – 25 of 31) sorted by relevance

12

/external/deqp/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp294 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/
Des2aVaryingInterpolationTests.cpp288 DE_STATIC_ASSERT(glu::PRECISION_LOWP+1 == glu::PRECISION_MEDIUMP); in init()
305 …{ "zero_to_one", Vec3( 0.0f, 0.0f, 0.0f), Vec3( 1.0f, 1.0f, 1.0f), glu::PRECISION_LOWP in init()
306 …_to_minus_one", Vec3( 0.0f, 0.0f, 0.0f), Vec3( -1.0f, -1.0f, -1.0f), glu::PRECISION_LOWP }, in init()
307 …us_one_to_one", Vec3( -1.0f, -1.0f, -1.0f), Vec3( 1.0f, 1.0f, 1.0f), glu::PRECISION_LOWP }, in init()
314 for (int precision = glu::PRECISION_LOWP; precision <= glu::PRECISION_HIGHP; precision++) in init()
/external/deqp/modules/gles3/functional/
Des3fShaderInvarianceTests.cpp478 …{ glu::PRECISION_LOWP, "lowp", "0.9", "1.1", "1.1", "1.15", "0.87", 6, 2, 0, "2.0", "1.1",… in init()
627 …for (int precisionOther = glu::PRECISION_LOWP; precisionOther != glu::PRECISION_LAST; ++precisionO… in init()
631 …const char* const multiplierStr = (minPrecision == glu::PRECISION_LOWP) ? ("0.8, 0.4, -0.2, 0.… in init()
632 …const char* const normalizationStrUsed = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(us… in init()
633 …const char* const normalizationStrUnrelated = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(frac… in init()
Des3fShaderPrecisionTests.cpp895 { "lowp_add", "in0 + in1", add<int>, glu::PRECISION_LOWP, 8, fullRange8I, fullRange8I }, in init()
896 { "lowp_sub", "in0 - in1", sub<int>, glu::PRECISION_LOWP, 8, fullRange8I, fullRange8I }, in init()
897 { "lowp_mul", "in0 * in1", mul<int>, glu::PRECISION_LOWP, 8, fullRange8I, fullRange8I }, in init()
898 { "lowp_div", "in0 / in1", div<int>, glu::PRECISION_LOWP, 8, fullRange8I, IVec2(-50, -1) } in init()
921 { "lowp_add", "in0 + in1", add<deUint32>, glu::PRECISION_LOWP, 8, fullRange8U, fullRange8U }, in init()
922 { "lowp_sub", "in0 - in1", sub<deUint32>, glu::PRECISION_LOWP, 8, fullRange8U, fullRange8U }, in init()
923 { "lowp_mul", "in0 * in1", mul<deUint32>, glu::PRECISION_LOWP, 8, fullRange8U, fullRange8U }, in init()
924 { "lowp_div", "in0 / in1", div<deUint32>, glu::PRECISION_LOWP, 8, fullRange8U, UVec2(1, 50u) } in init()
Des3fShaderPackingFunctionTests.cpp164 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()
Des3fShaderDerivateTests.cpp228 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()
Des3fTransformFeedbackTests.cpp553 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()
Des3fShaderCommonFunctionTests.cpp558 …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()
Des3fFragmentOutputTests.cpp914 case glu::PRECISION_LOWP: outTypeThreshold = (1<<(23-8)); break; in iterate()
989 glu::PRECISION_LOWP, in createRandomCase()
1145 glu::PRECISION_LOWP, in init()
/external/deqp/modules/gles2/functional/
Des2fShaderInvarianceTests.cpp476 …{ glu::PRECISION_LOWP, "lowp", "0.9", "1.1", "1.1", "1.15", "0.87", 6, 2, 0, "2.0", "1.1",… in init()
625 …for (int precisionOther = glu::PRECISION_LOWP; precisionOther != glu::PRECISION_LAST; ++precisionO… in init()
629 …const char* const multiplierStr = (minPrecision == glu::PRECISION_LOWP) ? ("0.8, 0.4, -0.2, 0.… in init()
630 …const char* const normalizationStrUsed = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(us… in init()
631 …const char* const normalizationStrUnrelated = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(frac… in init()
/external/deqp/modules/gles31/functional/
Des31fShaderSharedVarTests.cpp195 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()
Des31fSSBOLayoutTests.cpp298 …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 …]
Des31fShaderAtomicOpTests.cpp268 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()
Des31fShaderIntegerFunctionTests.cpp364 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()
Des31fNegativeAtomicCounterTests.cpp106 …shader << "layout (binding = 1, offset = 0) " << glu::getPrecisionName(glu::PRECISION_LOWP) << " u… in genShaderSource()
Des31fShaderCommonFunctionTests.cpp206 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()
Des31fShaderPackingFunctionTests.cpp168 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/
DvktSSBOLayoutTests.cpp295 …static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP,… in generateType()
397 block.addMember(BufferVar("u", VarType(glu::TYPE_UINT, glu::PRECISION_LOWP), 0 /* no access */)); in BlockSingleStructArrayCase()
435 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockSingleNestedStructCase()
473 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockSingleNestedStructArrayCase()
506 …block.addMember(BufferVar("u", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockUnsizedStructArrayCase()
547 block.addMember(BufferVar("u", VarType(glu::TYPE_UINT, glu::PRECISION_LOWP), 0 /* no access */)); in Block2LevelUnsizedStructArrayCase()
595 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockUnsizedNestedStructArrayCase()
634 …blockA.addMember(BufferVar("b", VarType(glu::TYPE_UINT_VEC3, glu::PRECISION_LOWP), 0 /* no access … in BlockMultiBasicTypesCase()
641 blockB.addMember(BufferVar("b", VarType(glu::TYPE_INT_VEC2, glu::PRECISION_LOWP), ACCESS_READ)); in BlockMultiBasicTypesCase()
672 typeS.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_LOWP)); in BlockMultiNestedStructCase()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp197 case glu::PRECISION_LOWP: return 6; in getNumMantissaBits()
210 case glu::PRECISION_LOWP: return -8; in getMinExponent()
1151 case glu::PRECISION_LOWP: in initPrograms()
1457 case glu::PRECISION_LOWP: in initPrograms()
1779 if (caseNdx != 0 && precision == glu::PRECISION_LOWP) in init()
1807 if (surfaceType != SURFACETYPE_FLOAT_FBO && precision == glu::PRECISION_LOWP) in init()
1837 if (surfaceType != SURFACETYPE_FLOAT_FBO && precision == glu::PRECISION_LOWP) in init()
/external/deqp/framework/opengl/
DgluShaderUtil.hpp86 PRECISION_LOWP = 0, enumerator
/external/deqp/modules/gles3/performance/
Des3pShaderOperatorTests.cpp1144 …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/modules/gles2/performance/
Des2pShaderOperatorTests.cpp1144 …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/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderIntegerFunctionTests.cpp551 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UaddCarryCase()
659 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UsubBorrowCase()
1215 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(intType, glu::PRECISION_LOWP))); in FindLSBCase()
1279 m_spec.outputs.push_back(Symbol("msb", glu::VarType(intType, glu::PRECISION_LOWP))); in findMSBCase()
DvktShaderPackingFunctionTests.cpp170 m_precision == glu::PRECISION_LOWP ? 129 : 0; // (2^-8) * (2^15) + 1 in iterate()
393 m_precision == glu::PRECISION_LOWP ? 257 : 0; // (2^-8) * (2^16) + 1 in iterate()
864 m_precision == glu::PRECISION_LOWP ? 2 : 0; // (2^-8) * (2^7) + 1 in iterate()
1107 m_precision == glu::PRECISION_LOWP ? 2 : 0; // (2^-8) * (2^8) + 1 in iterate()
DvktShaderCommonFunctionTests.cpp210 const bool zeroNotRepresentable = (precision == glu::PRECISION_LOWP); in makeFloatRepresentable()
725 …const deUint32 maxUlpDiff = precision == glu::PRECISION_LOWP ? getMaxUlpDiffFromBits(getMinMantiss… in compare()
815 if (precision != glu::PRECISION_LOWP) in getInputValues()
1050 else if (precision == glu::PRECISION_MEDIUMP || precision == glu::PRECISION_LOWP) in compare()
1622 if (precision != glu::PRECISION_LOWP) in getInputValues()
1883 if (precision != glu::PRECISION_LOWP) in getInputValues()

12