Home
last modified time | relevance | path

Searched refs:PRECISION_MEDIUMP (Results 1 – 25 of 47) sorted by relevance

12

/external/deqp/modules/gles3/accuracy/
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 …_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 …ll_mediump", Vec3(minF16, minF16, minF16), Vec3(maxF16, maxF16, maxF16), glu::PRECISION_MEDIUMP }, in init()
/external/deqp/modules/gles2/accuracy/
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 …_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 …ll_mediump", Vec3(minF16, minF16, minF16), Vec3(maxF16, maxF16, maxF16), glu::PRECISION_MEDIUMP }, in init()
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()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutTests.cpp298 … glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP, glu::PRECIS… in generateType()
365 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in init()
398 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in init()
404 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_MEDIUMP), ACCESS_WRITE… in init()
433 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in init()
437 typeT.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP)); in init()
473 typeS.addMember("b", VarType(VarType(glu::TYPE_INT_VEC2, glu::PRECISION_MEDIUMP), 4)); in init()
477 typeT.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP)); in init()
513 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT2X4, glu::PRECISION_MEDIUMP), 4)); in init()
518 block.addMember(BufferVar("v", VarType(glu::TYPE_UINT, glu::PRECISION_MEDIUMP), ACCESS_WRITE)); in init()
[all …]
Des31fShaderAtomicOpTests.cpp352 case glu::PRECISION_MEDIUMP: return 16; in getPrecisionNumIntegerBits()
579 m_precision == PRECISION_MEDIUMP ? 16 : 8; in ShaderAtomicAndCase()
591 m_precision == PRECISION_MEDIUMP ? 16 : 8; in getInputs()
609 m_precision == PRECISION_MEDIUMP ? 16 : 8; in verify()
664 m_precision == PRECISION_MEDIUMP ? 16 : 8; in getInputs()
680 m_precision == PRECISION_MEDIUMP ? 16 : 8; in verify()
753 m_precision == PRECISION_MEDIUMP ? 16 : 8; in verify()
Des31fShaderCommonFunctionTests.cpp727 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
741 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
924 else if (precision == glu::PRECISION_MEDIUMP || precision == glu::PRECISION_LOWP) in compare()
1007 else if (precision == glu::PRECISION_MEDIUMP) in compare()
1185 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1198 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1291 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1304 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1403 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1417 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
[all …]
Des31fNegativeAtomicCounterTests.cpp102 …shader << "layout (binding = 1, offset = 0) " << glu::getPrecisionName(glu::PRECISION_MEDIUMP) << … in genShaderSource()
Des31fShaderPackingFunctionTests.cpp167 m_precision == glu::PRECISION_MEDIUMP ? 33 : // (2^-10) * (2^15) + 1 in iterate()
358 m_precision == glu::PRECISION_MEDIUMP ? 65 : // (2^-10) * (2^16) + 1 in iterate()
643 …m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_MEDIUMP)… in UnpackHalf2x16Case()
765 m_precision == glu::PRECISION_MEDIUMP ? 1 : // (2^-10) * (2^7) + 1 in iterate()
974 m_precision == glu::PRECISION_MEDIUMP ? 1 : // (2^-10) * (2^8) + 1 in iterate()
/external/deqp/modules/gles3/functional/
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, … in init()
872 …{ "mediump_div", "in0 / in1", div<double>, glu::PRECISION_MEDIUMP, Vec2(-1e2f, 1e2f), Vec2(-1e2f, … in init()
891 …{ "mediump_add", "in0 + in1", add<int>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange16I … in init()
892 …{ "mediump_sub", "in0 - in1", sub<int>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange16I … in init()
893 …{ "mediump_mul", "in0 * in1", mul<int>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange16I … in init()
894 …{ "mediump_div", "in0 / in1", div<int>, glu::PRECISION_MEDIUMP, 16, fullRange16I, IVec2(1, 1000… in init()
917 …{ "mediump_add", "in0 + in1", add<deUint32>, glu::PRECISION_MEDIUMP, 16, fullRange16U, fullRange… in init()
918 …{ "mediump_sub", "in0 - in1", sub<deUint32>, glu::PRECISION_MEDIUMP, 16, fullRange16U, fullRange… in init()
[all …]
Des3fShaderPackingFunctionTests.cpp163 m_precision == glu::PRECISION_MEDIUMP ? 33 : // (2^-10) * (2^15) + 1 in iterate()
354 m_precision == glu::PRECISION_MEDIUMP ? 65 : // (2^-10) * (2^16) + 1 in iterate()
639 …m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_MEDIUMP)… in UnpackHalf2x16Case()
755 addChild(new PackSnorm2x16Case (m_context, glu::SHADERTYPE_VERTEX, glu::PRECISION_MEDIUMP)); in init()
756 addChild(new PackSnorm2x16Case (m_context, glu::SHADERTYPE_FRAGMENT, glu::PRECISION_MEDIUMP)); in init()
765 addChild(new PackUnorm2x16Case (m_context, glu::SHADERTYPE_VERTEX, glu::PRECISION_MEDIUMP)); in init()
766 addChild(new PackUnorm2x16Case (m_context, glu::SHADERTYPE_FRAGMENT, glu::PRECISION_MEDIUMP)); in init()
Des3fShaderCommonFunctionTests.cpp649 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
663 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1102 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1115 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1208 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1221 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1320 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1334 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1435 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1449 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
[all …]
Des3fTextureWrapTests.cpp145 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
165 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
184 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
Des3fTextureSizeTests.cpp87 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in Texture2DSizeCase()
207 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in TextureCubeSizeCase()
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()
1431 glu::PRECISION_MEDIUMP, in init()
1601 glu::PRECISION_MEDIUMP, in init()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp295 … glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP, glu::PRECIS… in generateType()
362 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in BlockSingleStructCase()
393 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in BlockSingleStructArrayCase()
399 …block.addMember(BufferVar("v", VarType(glu::TYPE_FLOAT_VEC4, glu::PRECISION_MEDIUMP), ACCESS_WRITE… in BlockSingleStructArrayCase()
426 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP), 4)); in BlockSingleNestedStructCase()
430 typeT.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP)); in BlockSingleNestedStructCase()
464 typeS.addMember("b", VarType(VarType(glu::TYPE_INT_VEC2, glu::PRECISION_MEDIUMP), 4)); in BlockSingleNestedStructArrayCase()
468 typeT.addMember("a", VarType(glu::TYPE_FLOAT_MAT3, glu::PRECISION_MEDIUMP)); in BlockSingleNestedStructArrayCase()
502 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT2X4, glu::PRECISION_MEDIUMP), 4)); in BlockUnsizedStructArrayCase()
507 block.addMember(BufferVar("v", VarType(glu::TYPE_UINT, glu::PRECISION_MEDIUMP), ACCESS_WRITE)); in BlockUnsizedStructArrayCase()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp429 for (int prec = glu::PRECISION_MEDIUMP; prec <= glu::PRECISION_HIGHP; prec++) in addFunctionCases()
830 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
844 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1050 else if (precision == glu::PRECISION_MEDIUMP || precision == glu::PRECISION_LOWP) in compare()
1147 else if (precision == glu::PRECISION_MEDIUMP) in compare()
1391 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1404 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1511 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1524 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1637 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
[all …]
DvktShaderPackingFunctionTests.cpp169 m_precision == glu::PRECISION_MEDIUMP ? 33 : // (2^-10) * (2^15) + 1 in iterate()
392 m_precision == glu::PRECISION_MEDIUMP ? 65 : // (2^-10) * (2^16) + 1 in iterate()
836 …m_spec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_FLOAT_VEC2, glu::PRECISION_MEDIUMP)… in UnpackHalf2x16Case()
863 m_precision == glu::PRECISION_MEDIUMP ? 1 : // (2^-10) * (2^7) + 1 in iterate()
1106 m_precision == glu::PRECISION_MEDIUMP ? 1 : // (2^-10) * (2^8) + 1 in iterate()
1357 for (int prec = glu::PRECISION_MEDIUMP; prec < glu::PRECISION_LAST; prec++) in init()
1368 for (int prec = glu::PRECISION_MEDIUMP; prec < glu::PRECISION_LAST; prec++) in init()
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()
/external/deqp/modules/gles2/functional/
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()
Des2fTextureWrapTests.cpp103 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
121 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
Des2fTextureSizeTests.cpp86 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DSizeCase()
206 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeSizeCase()
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()
Des2fTextureMipmapTests.cpp144 : glu::PRECISION_MEDIUMP) in Texture2DMipmapCase()
494 : glu::PRECISION_MEDIUMP) in TextureCubeMipmapCase()
787 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DGenMipmapCase()
920 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeGenMipmapCase()
Des2fUniformApiTests.cpp226 …on precision = glu::isDataTypeBoolOrBVec(basicType) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in generateRandomType()
332 …::Precision prec = glu::isDataTypeBoolOrBVec(type) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basic()
340 …::Precision prec = glu::isDataTypeBoolOrBVec(type) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basicArray()
348 …Precision prec0 = glu::isDataTypeBoolOrBVec(type0) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basicStruct()
349 …Precision prec1 = glu::isDataTypeBoolOrBVec(type1) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basicStruct()
376 …recision prec0 = glu::isDataTypeBoolOrBVec(type0) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in nestedArraysStructs()
377 …recision prec1 = glu::isDataTypeBoolOrBVec(type1) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in nestedArraysStructs()
/external/deqp/framework/opengl/
DgluShaderUtil.hpp87 PRECISION_MEDIUMP, enumerator
/external/deqp/modules/gles3/performance/
Des3pTextureCases.cpp100 ? glu::PRECISION_HIGHP : glu::PRECISION_MEDIUMP; in init()

12