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/
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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSSBOLayoutTests.cpp302 … glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP, glu::PRECIS… 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_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.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 …]
Des31fNegativeAtomicCounterTests.cpp102 …shader << "layout (binding = 1, offset = 0) " << glu::getPrecisionName(glu::PRECISION_MEDIUMP) << … in genShaderSource()
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()
/third_party/vk-gl-cts/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<deInt64>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange1… in init()
892 …{ "mediump_sub", "in0 - in1", sub<deInt64>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange1… in init()
893 …{ "mediump_mul", "in0 * in1", mul<deInt64>, glu::PRECISION_MEDIUMP, 16, fullRange16I, fullRange1… in init()
894 …{ "mediump_div", "in0 / in1", div<deInt64>, glu::PRECISION_MEDIUMP, 16, fullRange16I, IVec2(1, 1… 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.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()
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 …]
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()
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()
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, in init()
1603 glu::PRECISION_MEDIUMP, in init()
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/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp369 … glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP, glu::PRECIS… 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_WRITE)); in BlockUnsizedStructArrayCase()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/
DvktSSBOLayoutTests.cpp369 … glu::Precision precisionCandidates[] = { glu::PRECISION_LOWP, glu::PRECISION_MEDIUMP, glu::PRECIS… 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_WRITE)); in BlockUnsizedStructArrayCase()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
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/vulkan/shaderexecutor/
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/
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()
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()
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()
Des2fTextureMipmapTests.cpp144 : glu::PRECISION_MEDIUMP) in Texture2DMipmapCase()
494 : glu::PRECISION_MEDIUMP) in TextureCubeMipmapCase()
790 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP) in Texture2DGenMipmapCase()
923 , 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()

123