/third_party/vk-gl-cts/modules/gles2/accuracy/ |
H A D | es2aVaryingInterpolationTests.cpp | 288 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 { "zero_to_minus_one", Vec3( 0.0f, 0.0f, 0.0f), Vec3( -1.0f, -1.0f, -1.0f), glu::PRECISION_LOWP }, in init() 307 { "minus_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/modules/gles3/accuracy/ |
H A 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 { "zero_to_minus_one", Vec3( 0.0f, 0.0f, 0.0f), Vec3( -1.0f, -1.0f, -1.0f), glu::PRECISION_LOWP }, in init() 313 { "minus_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/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderInvarianceTests.cpp | 391 { glu::PRECISION_LOWP, "lowp", "0.9", "1.1", "1.1", "1.15", "0.87", 6, 2, 0, "2.0", "1.1", "1.0" }, in createShaderInvarianceTests() 591 for (int precisionOther = glu::PRECISION_LOWP; precisionOther != glu::PRECISION_LAST; ++precisionOther) in createShaderInvarianceTests() 595 const char* const multiplierStr = (minPrecision == glu::PRECISION_LOWP) ? ("0.8, 0.4, -0.2, 0.3") : ("1.0e1, 5.0e2, 2.0e2, 1.0"); in createShaderInvarianceTests() 596 const char* const normalizationStrUsed = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(used2).xyz, 0.0)") : ("vec4(fract(used2 / 1.0e2).xyz - fract(used2 / 1.0e3).xyz, 0.0)"); in createShaderInvarianceTests() 597 const char* const normalizationStrUnrelated = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(unrelated2).xyz, 0.0)") : ("vec4(fract(unrelated2 / 1.0e2).xyz - fract(unrelated2 / 1.0e3).xyz, 0.0)"); in createShaderInvarianceTests()
|
H A D | vktShaderRenderDerivateTests.cpp | 216 case glu::PRECISION_LOWP: return 6; in getNumMantissaBits() 229 case glu::PRECISION_LOWP: return -8; in getMinExponent() 1168 case glu::PRECISION_LOWP: in LinearDerivateCase() 1460 case glu::PRECISION_LOWP: in TextureDerivateCase() 1998 if (caseNdx != 0 && precision == glu::PRECISION_LOWP) in init() 2030 if (surfaceType != SURFACETYPE_FLOAT_FBO && precision == glu::PRECISION_LOWP) in init() 2061 if (surfaceType != SURFACETYPE_FLOAT_FBO && precision == glu::PRECISION_LOWP) in init()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderInvarianceTests.cpp | 478 { glu::PRECISION_LOWP, "lowp", "0.9", "1.1", "1.1", "1.15", "0.87", 6, 2, 0, "2.0", "1.1", "1.0" }, in init() 627 for (int precisionOther = glu::PRECISION_LOWP; precisionOther != glu::PRECISION_LAST; ++precisionOther) in init() 631 const char* const multiplierStr = (minPrecision == glu::PRECISION_LOWP) ? ("0.8, 0.4, -0.2, 0.3") : ("1.0e1, 5.0e2, 2.0e2, 1.0"); in init() 632 const char* const normalizationStrUsed = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(used2).xyz, 0.0)") : ("vec4(fract(used2 / 1.0e2).xyz - fract(used2 / 1.0e3).xyz, 0.0)"); in init() 633 const char* const normalizationStrUnrelated = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(unrelated2).xyz, 0.0)") : ("vec4(fract(unrelated2 / 1.0e2).xyz - fract(unrelated2 / 1.0e3).xyz, 0.0)"); in init()
|
H A D | es3fShaderPackingFunctionTests.cpp | 140 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()
|
H A D | es3fShaderPrecisionTests.cpp | 895 { "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()
|
H A D | es3fShaderDerivateTests.cpp | 228 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()
|
H A 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() 1431 glu::PRECISION_LOWP, 1602 glu::PRECISION_LOWP,
|
H A D | es3fShaderCommonFunctionTests.cpp | 521 const deUint32 maxUlpDiff = precision == glu::PRECISION_LOWP ? getMaxUlpDiffFromBits(getMinMantissaBits(precision)) : 0; 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/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderInvarianceTests.cpp | 391 { glu::PRECISION_LOWP, "lowp", "0.9", "1.1", "1.1", "1.15", "0.87", 6, 2, 0, "2.0", "1.1", "1.0" }, in createShaderInvarianceTests() 586 for (int precisionOther = glu::PRECISION_LOWP; precisionOther != glu::PRECISION_LAST; ++precisionOther) in createShaderInvarianceTests() 590 const char* const multiplierStr = (minPrecision == glu::PRECISION_LOWP) ? ("0.8, 0.4, -0.2, 0.3") : ("1.0e1, 5.0e2, 2.0e2, 1.0"); in createShaderInvarianceTests() 591 const char* const normalizationStrUsed = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(used2).xyz, 0.0)") : ("vec4(fract(used2 / 1.0e2).xyz - fract(used2 / 1.0e3).xyz, 0.0)"); in createShaderInvarianceTests() 592 const char* const normalizationStrUnrelated = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(unrelated2).xyz, 0.0)") : ("vec4(fract(unrelated2 / 1.0e2).xyz - fract(unrelated2 / 1.0e3).xyz, 0.0)"); in createShaderInvarianceTests()
|
H A D | vktShaderRenderDerivateTests.cpp | 198 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/gles2/functional/ |
H A D | es2fShaderInvarianceTests.cpp | 476 { glu::PRECISION_LOWP, "lowp", "0.9", "1.1", "1.1", "1.15", "0.87", 6, 2, 0, "2.0", "1.1", "1.0" }, in init() 625 for (int precisionOther = glu::PRECISION_LOWP; precisionOther != glu::PRECISION_LAST; ++precisionOther) in init() 629 const char* const multiplierStr = (minPrecision == glu::PRECISION_LOWP) ? ("0.8, 0.4, -0.2, 0.3") : ("1.0e1, 5.0e2, 2.0e2, 1.0"); in init() 630 const char* const normalizationStrUsed = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(used2).xyz, 0.0)") : ("vec4(fract(used2 / 1.0e2).xyz - fract(used2 / 1.0e3).xyz, 0.0)"); in init() 631 const char* const normalizationStrUnrelated = (minPrecision == glu::PRECISION_LOWP) ? ("vec4(fract(unrelated2).xyz, 0.0)") : ("vec4(fract(unrelated2 / 1.0e2).xyz - fract(unrelated2 / 1.0e3).xyz, 0.0)"); in init()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A 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()
|
H A D | es31fShaderUniformIntegerFunctionTests.cpp | 81 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()
|
H A D | es31fSSBOLayoutTests.cpp | 302 static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP, glu::PRECISION_HIGHP }; 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...] |
H A 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; 423 const int maxVal = m_precision == PRECISION_LOWP ? 100 : 1000; 497 m_initialValue = isSigned ? (m_precision == PRECISION_LOWP ? -100 : -1000) : 0; 505 const int maxVal = m_precision == PRECISION_LOWP ? 100 : 1000;
|
H A D | es31fNegativeAtomicCounterTests.cpp | 106 shader << "layout (binding = 1, offset = 0) " << glu::getPrecisionName(glu::PRECISION_LOWP) << " uniform atomic_uint counter0;\n"; in genShaderSource()
|
H A D | es31fShaderIntegerFunctionTests.cpp | 336 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()
|
H A D | es31fShaderCommonFunctionTests.cpp | 193 const bool zeroNotRepresentable = (precision == glu::PRECISION_LOWP); in makeFloatRepresentable() 596 const deUint32 maxUlpDiff = precision == glu::PRECISION_LOWP ? getMaxUlpDiffFromBits(getMinMantissaBits(precision)) : 0; 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++)
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
H A D | vktSSBOLayoutTests.cpp | 369 static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP, glu::PRECISION_HIGHP }; 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/ |
H A D | vktSSBOLayoutTests.cpp | 369 static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP, glu::PRECISION_HIGHP }; 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/ |
H A D | es3pShaderOperatorTests.cpp | 1144 const char* const inputPrecision = glu::isDataTypeIntOrIVec(m_type) && m_precision == glu::PRECISION_LOWP ? "mediump" : precision; 1487 if (inputPrecision == DE_NULL && isDataTypeIntOrIVec(m_paramTypes[i]) && m_precision == glu::PRECISION_LOWP) 1885 PRECISION_LOWP, 1987 PRECMASK_LOWP = (1<<PRECISION_LOWP), 1992 PRECMASK_ALL = (1<<PRECISION_LOWP) | (1<<PRECISION_MEDIUMP) | (1<<PRECISION_HIGHP) 2278 for (int prec = (int)PRECISION_LOWP; prec < (int)PRECISION_LAST; prec++)
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pShaderOperatorTests.cpp | 1144 const char* const inputPrecision = glu::isDataTypeIntOrIVec(m_type) && m_precision == glu::PRECISION_LOWP ? "mediump" : precision; 1483 if (inputPrecision == DE_NULL && isDataTypeIntOrIVec(m_paramTypes[i]) && m_precision == glu::PRECISION_LOWP) 1877 PRECISION_LOWP, 1975 PRECMASK_LOWP = (1<<PRECISION_LOWP), 1980 PRECMASK_ALL = (1<<PRECISION_LOWP) | (1<<PRECISION_MEDIUMP) | (1<<PRECISION_HIGHP) 2233 for (int prec = (int)PRECISION_LOWP; prec < (int)PRECISION_LAST; prec++)
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderIntegerFunctionTests.cpp | 502 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()
|