Home
last modified time | relevance | path

Searched refs:PRECISION_MEDIUMP (Results 1 - 25 of 64) sorted by relevance

123

/third_party/vk-gl-cts/modules/gles2/accuracy/
H A Des2aVaryingInterpolationTests.cpp128 if (precision == glu::PRECISION_MEDIUMP) in isValidFloat()
288 DE_STATIC_ASSERT(glu::PRECISION_LOWP+1 == glu::PRECISION_MEDIUMP); in init()
289 DE_STATIC_ASSERT(glu::PRECISION_MEDIUMP+1 == glu::PRECISION_HIGHP); in init()
308 { "minus_ten_to_ten", Vec3(-10.0f, -10.0f, -10.0f), Vec3( 10.0f, 10.0f, 10.0f), glu::PRECISION_MEDIUMP }, in init()
309 { "thousands", Vec3( -5e3f, 1e3f, 1e3f), Vec3( 3e3f, -1e3f, 7e3f), glu::PRECISION_MEDIUMP }, in init()
310 { "full_mediump", Vec3(minF16, minF16, minF16), Vec3(maxF16, maxF16, maxF16), glu::PRECISION_MEDIUMP }, in init()
H A Des2aTextureFilteringTests.cpp102 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DFilteringCase()
119 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DFilteringCase()
363 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeFilteringCase()
380 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeFilteringCase()
/third_party/vk-gl-cts/modules/gles3/accuracy/
H A Des3aVaryingInterpolationTests.cpp130 if (precision == glu::PRECISION_MEDIUMP) in isValidFloat()
294 DE_STATIC_ASSERT(glu::PRECISION_LOWP+1 == glu::PRECISION_MEDIUMP); in init()
295 DE_STATIC_ASSERT(glu::PRECISION_MEDIUMP+1 == glu::PRECISION_HIGHP); in init()
314 { "minus_ten_to_ten", Vec3(-10.0f, -10.0f, -10.0f), Vec3( 10.0f, 10.0f, 10.0f), glu::PRECISION_MEDIUMP }, in init()
315 { "thousands", Vec3( -5e3f, 1e3f, 1e3f), Vec3( 3e3f, -1e3f, 7e3f), glu::PRECISION_MEDIUMP }, in init()
316 { "full_mediump", Vec3(minF16, minF16, minF16), Vec3(maxF16, maxF16, maxF16), glu::PRECISION_MEDIUMP }, in init()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderPrecisionTests.cpp869 { "mediump_add", "in0 + in1", add<double>, glu::PRECISION_MEDIUMP, fullRange16F, fullRange16F }, in init()
870 { "mediump_sub", "in0 - in1", sub<double>, glu::PRECISION_MEDIUMP, fullRange16F, fullRange16F }, in init()
871 { "mediump_mul", "in0 * in1", mul<double>, glu::PRECISION_MEDIUMP, Vec2(-1e2f, 1e2f), Vec2(-1e2f, 1e2f) }, in init()
872 { "mediump_div", "in0 / in1", div<double>, glu::PRECISION_MEDIUMP, Vec2(-1e2f, 1e2f), Vec2(-1e2f, 1e2f) } in init()
891 { "mediump_add", "in0 + in1", add<deInt64>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange16I }, in init()
892 { "mediump_sub", "in0 - in1", sub<deInt64>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange16I }, in init()
893 { "mediump_mul", "in0 * in1", mul<deInt64>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange16I }, in init()
894 { "mediump_div", "in0 / in1", div<deInt64>, glu::PRECISION_MEDIUMP, 16, fullRange16I, IVec2(1, 1000) }, in init()
917 { "mediump_add", "in0 + in1", add<deUint32>, glu::PRECISION_MEDIUMP, 16, fullRange16U, fullRange16U }, in init()
918 { "mediump_sub", "in0 - in1", sub<deUint32>, glu::PRECISION_MEDIUMP, 1 in init()
[all...]
H A Des3fShaderPackingFunctionTests.cpp139 m_precision == glu::PRECISION_MEDIUMP ? 33 : // (2^-10) * (2^15) + 1 in iterate()
330 m_precision == glu::PRECISION_MEDIUMP ? 65 : // (2^-10) * (2^16) + 1 in iterate()
615 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_MEDIUMP))); in UnpackHalf2x16Case()
731 addChild(new PackSnorm2x16Case (m_context, glu::SHADERTYPE_VERTEX, glu::PRECISION_MEDIUMP)); in init()
732 addChild(new PackSnorm2x16Case (m_context, glu::SHADERTYPE_FRAGMENT, glu::PRECISION_MEDIUMP)); in init()
741 addChild(new PackUnorm2x16Case (m_context, glu::SHADERTYPE_VERTEX, glu::PRECISION_MEDIUMP)); in init()
742 addChild(new PackUnorm2x16Case (m_context, glu::SHADERTYPE_FRAGMENT, glu::PRECISION_MEDIUMP)); in init()
H A Des3fShaderCommonFunctionTests.cpp612 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
626 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1065 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1078 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1171 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1184 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1283 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1297 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1398 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1412 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
[all...]
H A Des3fTextureSizeTests.cpp87 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in Texture2DSizeCase()
212 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in TextureCubeSizeCase()
H A Des3fTextureWrapTests.cpp147 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
168 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
188 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
H A Des3fTransformFeedbackTests.cpp554 case glu::PRECISION_MEDIUMP: *comp = rnd.getFloat(-1e3f, 1e3f); break; in genAttributeData()
566 case glu::PRECISION_MEDIUMP: *comp = (int)signExtend(rnd.getUint32()&0xffff, 16); break; in genAttributeData()
578 case glu::PRECISION_MEDIUMP: *comp = rnd.getUint32()&0xffff; break; in genAttributeData()
749 case glu::PRECISION_MEDIUMP: isEqual = de::abs((int)inVal - (int)outVal) < 2+(1<<13); break; in compareTransformFeedbackOutput()
1432 glu::PRECISION_MEDIUMP,
1603 glu::PRECISION_MEDIUMP,
H A Des3fShaderDerivateTests.cpp227 case glu::PRECISION_MEDIUMP: return 10; in getNumMantissaBits()
240 case glu::PRECISION_MEDIUMP: return -14; in getMinExponent()
332 case glu::PRECISION_MEDIUMP: return 3; in getInterpolationLostBitsWarning()
1055 case glu::PRECISION_MEDIUMP: in init()
1324 case glu::PRECISION_MEDIUMP: in init()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fSSBOLayoutTests.cpp302 static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP, glu::PRECISION_HIGHP }; in generateType()
369 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in init()
402 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in init()
408 block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_MEDIUMP), ACCESS_WRITE)); in init()
437 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in init()
441 typeT.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP)); in init()
477 typeS.addMember("b", VarType(VarType(glu::TYPE_INT_VEC2, glu::PRECISION_MEDIUMP), 4)); in init()
481 typeT.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP)); in init()
517 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT2X4, glu::PRECISION_MEDIUMP), 4)); in init()
522 block.addMember(BufferVar("v", VarType(glu::TYPE_UINT, glu::PRECISION_MEDIUMP), ACCESS_WRIT in init()
[all...]
H A Des31fShaderCommonFunctionTests.cpp687 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
701 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
884 else if (precision == glu::PRECISION_MEDIUMP || precision == glu::PRECISION_LOWP) in compare()
967 else if (precision == glu::PRECISION_MEDIUMP) in compare()
1145 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1158 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1251 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1264 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1363 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1377 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
[all...]
H A Des31fShaderAtomicOpTests.cpp352 case glu::PRECISION_MEDIUMP: return 16; in getPrecisionNumIntegerBits()
579 m_precision == PRECISION_MEDIUMP ? 16 : 8;
591 m_precision == PRECISION_MEDIUMP ? 16 : 8;
609 m_precision == PRECISION_MEDIUMP ? 16 : 8;
664 m_precision == PRECISION_MEDIUMP ? 16 : 8;
680 m_precision == PRECISION_MEDIUMP ? 16 : 8;
753 m_precision == PRECISION_MEDIUMP ? 16 : 8;
H A Des31fNegativeAtomicCounterTests.cpp102 shader << "layout (binding = 1, offset = 0) " << glu::getPrecisionName(glu::PRECISION_MEDIUMP) << " uniform atomic_uint counter0;\n"; in genShaderSource()
H A Des31fShaderPackingFunctionTests.cpp139 m_precision == glu::PRECISION_MEDIUMP ? 33 : // (2^-10) * (2^15) + 1 in iterate()
330 m_precision == glu::PRECISION_MEDIUMP ? 65 : // (2^-10) * (2^16) + 1 in iterate()
615 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_MEDIUMP))); in UnpackHalf2x16Case()
737 m_precision == glu::PRECISION_MEDIUMP ? 1 : // (2^-10) * (2^7) + 1 in iterate()
946 m_precision == glu::PRECISION_MEDIUMP ? 1 : // (2^-10) * (2^8) + 1 in iterate()
H A Des31fProgramUniformTests.cpp378 const glu::Precision prec = glu::isDataTypeBoolOrBVec(type) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basic()
386 const glu::Precision prec = glu::isDataTypeBoolOrBVec(type) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basicArray()
394 const glu::Precision prec0 = glu::isDataTypeBoolOrBVec(type0) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basicStruct()
395 const glu::Precision prec1 = glu::isDataTypeBoolOrBVec(type1) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basicStruct()
422 const glu::Precision prec0 = glu::isDataTypeBoolOrBVec(type0) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in nestedArraysStructs()
423 const glu::Precision prec1 = glu::isDataTypeBoolOrBVec(type1) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in nestedArraysStructs()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
H A DvktSSBOLayoutTests.cpp369 static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP, glu::PRECISION_HIGHP }; in generateType()
482 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in BlockSingleStructCase()
513 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in BlockSingleStructArrayCase()
519 block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_MEDIUMP), ACCESS_WRITE)); in BlockSingleStructArrayCase()
546 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in BlockSingleNestedStructCase()
550 typeT.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP)); in BlockSingleNestedStructCase()
584 typeS.addMember("b", VarType(VarType(glu::TYPE_INT_VEC2, glu::PRECISION_MEDIUMP), 4)); in BlockSingleNestedStructArrayCase()
588 typeT.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP)); in BlockSingleNestedStructArrayCase()
622 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT2X4, glu::PRECISION_MEDIUMP), 4)); in BlockUnsizedStructArrayCase()
627 block.addMember(BufferVar("v", VarType(glu::TYPE_UINT, glu::PRECISION_MEDIUMP), ACCESS_WRIT in BlockUnsizedStructArrayCase()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/
H A DvktSSBOLayoutTests.cpp369 static const glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP, glu::PRECISION_HIGHP }; in generateType()
482 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in BlockSingleStructCase()
513 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in BlockSingleStructArrayCase()
519 block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_MEDIUMP), ACCESS_WRITE)); in BlockSingleStructArrayCase()
546 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in BlockSingleNestedStructCase()
550 typeT.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP)); in BlockSingleNestedStructCase()
584 typeS.addMember("b", VarType(VarType(glu::TYPE_INT_VEC2, glu::PRECISION_MEDIUMP), 4)); in BlockSingleNestedStructArrayCase()
588 typeT.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP)); in BlockSingleNestedStructArrayCase()
622 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT2X4, glu::PRECISION_MEDIUMP), 4)); in BlockUnsizedStructArrayCase()
627 block.addMember(BufferVar("v", VarType(glu::TYPE_UINT, glu::PRECISION_MEDIUMP), ACCESS_WRIT in BlockUnsizedStructArrayCase()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderPackingFunctionTests.cpp148 m_precision == glu::PRECISION_MEDIUMP ? 33 : // (2^-10) * (2^15) + 1 in iterate()
367 m_precision == glu::PRECISION_MEDIUMP ? 65 : // (2^-10) * (2^16) + 1 in iterate()
883 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_MEDIUMP))); in UnpackHalf2x16Case()
910 m_precision == glu::PRECISION_MEDIUMP ? 1 : // (2^-10) * (2^7) + 1 in iterate()
1145 m_precision == glu::PRECISION_MEDIUMP ? 1 : // (2^-10) * (2^8) + 1 in iterate()
1388 for (int prec = glu::PRECISION_MEDIUMP; prec < glu::PRECISION_LAST; prec++) in init()
1399 for (int prec = glu::PRECISION_MEDIUMP; prec < glu::PRECISION_LAST; prec++) in init()
1419 for (int prec = glu::PRECISION_MEDIUMP; prec < glu::PRECISION_LAST; prec++) in init()
1430 for (int prec = glu::PRECISION_MEDIUMP; prec < glu::PRECISION_LAST; prec++) in init()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderPackingFunctionTests.cpp148 m_precision == glu::PRECISION_MEDIUMP ? 33 : // (2^-10) * (2^15) + 1 in iterate()
367 m_precision == glu::PRECISION_MEDIUMP ? 65 : // (2^-10) * (2^16) + 1 in iterate()
883 m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_MEDIUMP))); in UnpackHalf2x16Case()
910 m_precision == glu::PRECISION_MEDIUMP ? 1 : // (2^-10) * (2^7) + 1 in iterate()
1145 m_precision == glu::PRECISION_MEDIUMP ? 1 : // (2^-10) * (2^8) + 1 in iterate()
1388 for (int prec = glu::PRECISION_MEDIUMP; prec < glu::PRECISION_LAST; prec++) in init()
1399 for (int prec = glu::PRECISION_MEDIUMP; prec < glu::PRECISION_LAST; prec++) in init()
1419 for (int prec = glu::PRECISION_MEDIUMP; prec < glu::PRECISION_LAST; prec++) in init()
1430 for (int prec = glu::PRECISION_MEDIUMP; prec < glu::PRECISION_LAST; prec++) in init()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fTextureFormatTests.cpp101 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DFormatCase()
245 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeFormatCase()
425 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Compressed2DFormatCase()
530 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in CompressedCubeFormatCase()
H A Des2fTextureSizeTests.cpp86 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DSizeCase()
211 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeSizeCase()
H A Des2fTextureWrapTests.cpp105 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
124 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
H A Des2fTextureFilteringTests.cpp130 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DFilteringCase()
148 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DFilteringCase()
393 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeFilteringCase()
411 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeFilteringCase()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
H A DvktTextureTestUtil.hpp119 void initializePrograms (vk::SourceCollections& programCollection, glu::Precision texCoordPrecision, const std::vector<Program>& programs, const char* texCoordSwizzle = DE_NULL, glu::Precision fragOutputPrecision = glu::Precision::PRECISION_MEDIUMP, bool unnormal = false);
374 initializePrograms(programCollection, m_testsParameters.texCoordPrecision, m_testsParameters.programs, DE_NULL, glu::PRECISION_MEDIUMP, m_testsParameters.unnormal); in initPrograms()

Completed in 51 milliseconds

123