Home
last modified time | relevance | path

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

12

/external/deqp/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp130 if (precision == glu::PRECISION_MEDIUMP) in isValidFloat()
295 DE_STATIC_ASSERT(glu::PRECISION_LOWP+1 == glu::PRECISION_MEDIUMP); in init()
296 DE_STATIC_ASSERT(glu::PRECISION_MEDIUMP+1 == glu::PRECISION_HIGHP); in init()
315 …_ten_to_ten", Vec3(-10.0f, -10.0f, -10.0f), Vec3( 10.0f, 10.0f, 10.0f), glu::PRECISION_MEDIUMP }, in init()
316 …thousands", Vec3( -5e3f, 1e3f, 1e3f), Vec3( 3e3f, -1e3f, 7e3f), glu::PRECISION_MEDIUMP }, in init()
317 …ll_mediump", Vec3(minF16, minF16, minF16), Vec3(maxF16, maxF16, maxF16), glu::PRECISION_MEDIUMP }, in init()
/external/deqp/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp127 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.cpp100 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DFilteringCase()
117 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DFilteringCase()
361 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeFilteringCase()
378 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeFilteringCase()
Des2aTextureMipmapTests.cpp142 : glu::PRECISION_MEDIUMP) in Texture2DMipmapCase()
439 : glu::PRECISION_MEDIUMP) in TextureCubeMipmapCase()
/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 …]
Des31fShaderCommonFunctionTests.cpp680 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
694 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
877 else if (precision == glu::PRECISION_MEDIUMP || precision == glu::PRECISION_LOWP) in compare()
960 else if (precision == glu::PRECISION_MEDIUMP) in compare()
1138 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1151 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1244 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1257 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
1356 if (precision == glu::PRECISION_MEDIUMP) in getInputValues()
1370 if (precision == glu::PRECISION_HIGHP || precision == glu::PRECISION_MEDIUMP) in compare()
[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()
661 m_precision == PRECISION_MEDIUMP ? 16 : 8; in getInputs()
747 m_precision == PRECISION_MEDIUMP ? 16 : 8; in verify()
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()
Des31fProgramUniformTests.cpp378 …::Precision prec = glu::isDataTypeBoolOrBVec(type) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basic()
386 …::Precision prec = glu::isDataTypeBoolOrBVec(type) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basicArray()
394 …Precision prec0 = glu::isDataTypeBoolOrBVec(type0) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basicStruct()
395 …Precision prec1 = glu::isDataTypeBoolOrBVec(type1) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basicStruct()
422 …recision prec0 = glu::isDataTypeBoolOrBVec(type0) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in nestedArraysStructs()
423 …recision prec1 = glu::isDataTypeBoolOrBVec(type1) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in nestedArraysStructs()
/external/deqp/modules/gles3/functional/
Des3fShaderPrecisionTests.cpp895 { "mediump_add", "in0 + in1", add<double>, glu::PRECISION_MEDIUMP, fullRange16F, fullRange16F }, in init()
896 { "mediump_sub", "in0 - in1", sub<double>, glu::PRECISION_MEDIUMP, fullRange16F, fullRange16F }, in init()
897 …{ "mediump_mul", "in0 * in1", mul<double>, glu::PRECISION_MEDIUMP, Vec2(-1e2f, 1e2f), Vec2(-1e2f, … in init()
898 …{ "mediump_div", "in0 / in1", div<double>, glu::PRECISION_MEDIUMP, Vec2(-1e2f, 1e2f), Vec2(-1e2f, … in init()
917 …{ "mediump_add", "in0 + in1", add<int>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange16I … in init()
918 …{ "mediump_sub", "in0 - in1", sub<int>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange16I … in init()
919 …{ "mediump_mul", "in0 * in1", mul<int>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange16I … in init()
920 …{ "mediump_div", "in0 / in1", div<int>, glu::PRECISION_MEDIUMP, 16, fullRange16I, IVec2(1, 1000… in init()
943 …{ "mediump_add", "in0 + in1", add<deUint32>, glu::PRECISION_MEDIUMP, 16, fullRange16U, fullRange… in init()
944 …{ "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.cpp143 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
163 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
182 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
Des3fTextureSizeTests.cpp85 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in Texture2DSizeCase()
205 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_300_ES, glu::PRECISION_MEDIUMP) in TextureCubeSizeCase()
Des3fTransformFeedbackTests.cpp543 case glu::PRECISION_MEDIUMP: *comp = rnd.getFloat(-1e3f, 1e3f); break; in genAttributeData()
555 case glu::PRECISION_MEDIUMP: *comp = (int)(rnd.getUint32()&0xffff) << 16 >> 16; break; in genAttributeData()
567 case glu::PRECISION_MEDIUMP: *comp = rnd.getUint32()&0xffff; break; in genAttributeData()
736 case glu::PRECISION_MEDIUMP: isEqual = de::abs((int)inVal - (int)outVal) < 2+(1<<13); break; in compareTransformFeedbackOutput()
1418 glu::PRECISION_MEDIUMP, in init()
1588 glu::PRECISION_MEDIUMP, in init()
Des3fShaderDerivateTests.cpp227 case glu::PRECISION_MEDIUMP: return 10; in getNumMantissaBits()
240 case glu::PRECISION_MEDIUMP: return -14; in getMinExponent()
1004 case glu::PRECISION_MEDIUMP: in init()
1236 case glu::PRECISION_MEDIUMP: in init()
Des3fUniformApiTests.cpp286 …on precision = glu::isDataTypeBoolOrBVec(basicType) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in generateRandomType()
398 …::Precision prec = glu::isDataTypeBoolOrBVec(type) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basic()
406 …::Precision prec = glu::isDataTypeBoolOrBVec(type) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basicArray()
414 …Precision prec0 = glu::isDataTypeBoolOrBVec(type0) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basicStruct()
415 …Precision prec1 = glu::isDataTypeBoolOrBVec(type1) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in basicStruct()
442 …recision prec0 = glu::isDataTypeBoolOrBVec(type0) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in nestedArraysStructs()
443 …recision prec1 = glu::isDataTypeBoolOrBVec(type1) ? glu::PRECISION_LAST : glu::PRECISION_MEDIUMP; in nestedArraysStructs()
/external/deqp/modules/gles2/functional/
Des2fTextureFormatTests.cpp99 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DFormatCase()
243 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeFormatCase()
423 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Compressed2DFormatCase()
528 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in CompressedCubeFormatCase()
Des2fTextureWrapTests.cpp102 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
120 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureWrapCase()
Des2fTextureSizeTests.cpp85 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DSizeCase()
205 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeSizeCase()
Des2fTextureFilteringTests.cpp129 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DFilteringCase()
147 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DFilteringCase()
392 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeFilteringCase()
410 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in TextureCubeFilteringCase()
Des2fTextureMipmapTests.cpp143 : glu::PRECISION_MEDIUMP) in Texture2DMipmapCase()
493 : glu::PRECISION_MEDIUMP) in TextureCubeMipmapCase()
786 , m_renderer (renderCtx, testCtx, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DGenMipmapCase()
920 , m_renderer (renderCtx, testCtx, 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.hpp85 PRECISION_MEDIUMP, enumerator
/external/deqp/modules/gles3/performance/
Des3pTextureCases.cpp100 ? glu::PRECISION_HIGHP : glu::PRECISION_MEDIUMP; in init()

12