Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRenderInvarianceTests.cpp391 …{ glu::PRECISION_LOWP, "lowp", "0.9", "1.1", "1.1", "1.15", "0.87", 6, 2, 0, "2.0", "1.1",… in createShaderInvarianceTests()
586 …for (int precisionOther = glu::PRECISION_LOWP; precisionOther != glu::PRECISION_LAST; ++precisionO… in createShaderInvarianceTests()
590 …const char* const multiplierStr = (minPrecision == glu::PRECISION_LOWP) ? ("0.8, 0.4, -0.2, 0.3")… in createShaderInvarianceTests()
591 …const char* const normalizationStrUsed = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(use… in createShaderInvarianceTests()
592 …const char* const normalizationStrUnrelated = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(frac… in createShaderInvarianceTests()
DvktShaderRenderDerivateTests.cpp198 case glu::PRECISION_LOWP: return 6; in getNumMantissaBits()
211 case glu::PRECISION_LOWP: return -8; in getMinExponent()
1186 case glu::PRECISION_LOWP: in initPrograms()
1498 case glu::PRECISION_LOWP: in initPrograms()
1913 if (caseNdx != 0 && precision == glu::PRECISION_LOWP) in init()
1941 if (surfaceType != SURFACETYPE_FLOAT_FBO && precision == glu::PRECISION_LOWP) in init()
1971 if (surfaceType != SURFACETYPE_FLOAT_FBO && precision == glu::PRECISION_LOWP) in init()
/third_party/vk-gl-cts/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<deInt64>, glu::PRECISION_LOWP, 8, fullRange8I, fullRange8I }, in init()
896 { "lowp_sub", "in0 - in1", sub<deInt64>, glu::PRECISION_LOWP, 8, fullRange8I, fullRange8I }, in init()
897 { "lowp_mul", "in0 * in1", mul<deInt64>, glu::PRECISION_LOWP, 8, fullRange8I, fullRange8I }, in init()
898 { "lowp_div", "in0 / in1", div<deInt64>, 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.cpp140 m_precision == glu::PRECISION_LOWP ? 129 : 0; // (2^-8) * (2^15) + 1 in iterate()
331 m_precision == glu::PRECISION_LOWP ? 257 : 0; // (2^-8) * (2^16) + 1 in iterate()
729 addChild(new PackSnorm2x16Case (m_context, glu::SHADERTYPE_VERTEX, glu::PRECISION_LOWP)); in init()
730 addChild(new PackSnorm2x16Case (m_context, glu::SHADERTYPE_FRAGMENT, glu::PRECISION_LOWP)); in init()
739 addChild(new PackUnorm2x16Case (m_context, glu::SHADERTYPE_VERTEX, glu::PRECISION_LOWP)); in init()
740 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()
333 case glu::PRECISION_LOWP: return 3; in getInterpolationLostBitsWarning()
1060 case glu::PRECISION_LOWP: in init()
1329 case glu::PRECISION_LOWP: in init()
1828 if (caseNdx != 0 && precision == glu::PRECISION_LOWP) in init()
1856 if (surfaceType != SURFACETYPE_FLOAT_FBO && precision == glu::PRECISION_LOWP) in init()
1889 if (surfaceType != SURFACETYPE_FLOAT_FBO && precision == glu::PRECISION_LOWP) in init()
1921 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()
1431 glu::PRECISION_LOWP, in init()
1602 glu::PRECISION_LOWP, in init()
Des3fShaderCommonFunctionTests.cpp521 …const deUint32 maxUlpDiff = precision == glu::PRECISION_LOWP ? getMaxUlpDiffFromBits(getMinMantiss… in compare()
597 if (precision != glu::PRECISION_LOWP) in getInputValues()
1268 if (precision != glu::PRECISION_LOWP) in getInputValues()
1501 if (precision != glu::PRECISION_LOWP) in getInputValues()
1619 for (int prec = glu::PRECISION_LOWP; prec <= glu::PRECISION_HIGHP; prec++) in addFunctionCases()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderInvarianceTests.cpp391 …{ glu::PRECISION_LOWP, "lowp", "0.9", "1.1", "1.1", "1.15", "0.87", 6, 2, 0, "2.0", "1.1",… in createShaderInvarianceTests()
586 …for (int precisionOther = glu::PRECISION_LOWP; precisionOther != glu::PRECISION_LAST; ++precisionO… in createShaderInvarianceTests()
590 …const char* const multiplierStr = (minPrecision == glu::PRECISION_LOWP) ? ("0.8, 0.4, -0.2, 0.3")… in createShaderInvarianceTests()
591 …const char* const normalizationStrUsed = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(use… in createShaderInvarianceTests()
592 …const char* const normalizationStrUnrelated = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(frac… in createShaderInvarianceTests()
DvktShaderRenderDerivateTests.cpp198 case glu::PRECISION_LOWP: return 6; in getNumMantissaBits()
211 case glu::PRECISION_LOWP: return -8; in getMinExponent()
1186 case glu::PRECISION_LOWP: in initPrograms()
1498 case glu::PRECISION_LOWP: in initPrograms()
1913 if (caseNdx != 0 && precision == glu::PRECISION_LOWP) in init()
1941 if (surfaceType != SURFACETYPE_FLOAT_FBO && precision == glu::PRECISION_LOWP) in init()
1971 if (surfaceType != SURFACETYPE_FLOAT_FBO && precision == glu::PRECISION_LOWP) in init()
/third_party/vk-gl-cts/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.cpp302 …static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP,… in generateType()
406 block.addMember(BufferVar("u", VarType(glu::TYPE_UINT, glu::PRECISION_LOWP), 0 /* no access */)); in init()
446 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in init()
486 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in init()
521 …block.addMember(BufferVar("u", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in init()
564 block.addMember(BufferVar("u", VarType(glu::TYPE_UINT, glu::PRECISION_LOWP), 0 /* no access */)); in init()
614 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in init()
655 …blockA.addMember(BufferVar("b", VarType(glu::TYPE_UINT_VEC3, glu::PRECISION_LOWP), 0 /* no access … in init()
662 blockB.addMember(BufferVar("b", VarType(glu::TYPE_INT_VEC2, glu::PRECISION_LOWP), ACCESS_READ)); in init()
695 typeS.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_LOWP)); in init()
[all …]
Des31fShaderUniformIntegerFunctionTests.cpp81 m_spec.outputs.push_back(Symbol("result", glu::VarType(glu::TYPE_INT, glu::PRECISION_LOWP))); in UniformIntegerFunctionCase()
191 for (int prec = glu::PRECISION_LOWP; prec <= glu::PRECISION_HIGHP; prec++) in addFunctionCases()
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.cpp336 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UaddCarryCase()
432 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UsubBorrowCase()
904 m_spec.outputs.push_back(Symbol("count", glu::VarType(intType, glu::PRECISION_LOWP))); in BitCountCase()
964 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(intType, glu::PRECISION_LOWP))); in FindLSBCase()
1024 m_spec.outputs.push_back(Symbol("msb", glu::VarType(intType, glu::PRECISION_LOWP))); in FindMSBCase()
1094 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.cpp193 const bool zeroNotRepresentable = (precision == glu::PRECISION_LOWP); in makeFloatRepresentable()
596 …const deUint32 maxUlpDiff = precision == glu::PRECISION_LOWP ? getMaxUlpDiffFromBits(getMinMantiss… in compare()
672 if (precision != glu::PRECISION_LOWP) in getInputValues()
884 else if (precision == glu::PRECISION_MEDIUMP || precision == glu::PRECISION_LOWP) in compare()
1348 if (precision != glu::PRECISION_LOWP) in getInputValues()
1581 if (precision != glu::PRECISION_LOWP) in getInputValues()
2106 for (int prec = glu::PRECISION_LOWP; prec <= glu::PRECISION_HIGHP; prec++) in addFunctionCases()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp369 …static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP,… in generateType()
517 block.addMember(BufferVar("u", VarType(glu::TYPE_UINT, glu::PRECISION_LOWP), 0 /* no access */)); in BlockSingleStructArrayCase()
555 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockSingleNestedStructCase()
593 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockSingleNestedStructArrayCase()
626 …block.addMember(BufferVar("u", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockUnsizedStructArrayCase()
667 block.addMember(BufferVar("u", VarType(glu::TYPE_UINT, glu::PRECISION_LOWP), 0 /* no access */)); in Block2LevelUnsizedStructArrayCase()
715 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockUnsizedNestedStructArrayCase()
754 …blockA.addMember(BufferVar("b", VarType(glu::TYPE_UINT_VEC3, glu::PRECISION_LOWP), 0 /* no access … in BlockMultiBasicTypesCase()
761 blockB.addMember(BufferVar("b", VarType(glu::TYPE_INT_VEC2, glu::PRECISION_LOWP), ACCESS_READ)); in BlockMultiBasicTypesCase()
792 typeS.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_LOWP)); in BlockMultiNestedStructCase()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/
DvktSSBOLayoutTests.cpp369 …static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP,… in generateType()
517 block.addMember(BufferVar("u", VarType(glu::TYPE_UINT, glu::PRECISION_LOWP), 0 /* no access */)); in BlockSingleStructArrayCase()
555 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockSingleNestedStructCase()
593 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockSingleNestedStructArrayCase()
626 …block.addMember(BufferVar("u", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockUnsizedStructArrayCase()
667 block.addMember(BufferVar("u", VarType(glu::TYPE_UINT, glu::PRECISION_LOWP), 0 /* no access */)); in Block2LevelUnsizedStructArrayCase()
715 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_LOWP), 0 /* no access … in BlockUnsizedNestedStructArrayCase()
754 …blockA.addMember(BufferVar("b", VarType(glu::TYPE_UINT_VEC3, glu::PRECISION_LOWP), 0 /* no access … in BlockMultiBasicTypesCase()
761 blockB.addMember(BufferVar("b", VarType(glu::TYPE_INT_VEC2, glu::PRECISION_LOWP), ACCESS_READ)); in BlockMultiBasicTypesCase()
792 typeS.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_LOWP)); in BlockMultiNestedStructCase()
[all …]
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
DvktShaderIntegerFunctionTests.cpp502 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UaddCarryCase()
610 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UsubBorrowCase()
1166 m_spec.outputs.push_back(Symbol("lsb", glu::VarType(intType, glu::PRECISION_LOWP))); in FindLSBCase()
1230 m_spec.outputs.push_back(Symbol("msb", glu::VarType(intType, glu::PRECISION_LOWP))); in findMSBCase()

12