Home
last modified time | relevance | path

Searched refs:deMax32 (Results 1 - 25 of 44) sorted by relevance

12

/third_party/vk-gl-cts/framework/delibs/depool/
H A DdeMemPool.c310 root->maxMemoryAllocated = deMax32(root->maxMemoryAllocated, deMemPool_getNumAllocatedBytes(root, DE_TRUE)); in deMemPool_destroy()
311 root->maxMemoryCapacity = deMax32(root->maxMemoryCapacity, deMemPool_getCapacity(root, DE_TRUE)); in deMemPool_destroy()
469 int maxAlignPadding = deMax32(0, ((int)alignBytes)-MEM_PAGE_BASE_ALIGN); in deMemPool_allocInternal()
470 int newPageCapacity = deMax32(deMin32(2*curPage->capacity, MAX_PAGE_SIZE), ((int)numBytes)+maxAlignPadding); in deMemPool_allocInternal()
568 size_t len = (size_t)deMin32((int)strlen(str), deMax32(0, maxLength)); in deMemPool_strnDup()
586 return deMax32(pool->maxMemoryAllocated, deMemPool_getNumAllocatedBytes(pool, DE_TRUE)); in deMemPool_getMaxNumAllocatedBytes()
592 return deMax32(pool->maxMemoryCapacity, deMemPool_getCapacity(pool, DE_TRUE)); in deMemPool_getMaxCapacity()
H A DdePoolMultiSet.h219 int count = deMax32(aCount, bCount); \
282 int count = deMax32(0, aCount - bCount); \
H A DdePoolArray.c77 int newPageTableCapacity = deMax32(2*arr->pageTableCapacity, reqPageTableCapacity); in dePoolArray_reserve()
H A DdePoolHash.h328 if (!TYPENAME##_rehash(hash, deMax32(4, 2*hash->slotTableSize))) \
H A DdePoolSet.h337 if (!TYPENAME##_rehash(set, deMax32(4, 2*set->slotTableSize))) \
/third_party/vk-gl-cts/framework/common/
H A DtcuRGBA.hpp145 return RGBA(deMax32(a.getRed(), b.getRed()), in max()
146 deMax32(a.getGreen(), b.getGreen()), in max()
147 deMax32(a.getBlue(), b.getBlue()), in max()
148 deMax32(a.getAlpha(), b.getAlpha())); in max()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageTexture.cpp106 return deMax32(value >> mipmapLevel, 1); in minify()
H A DvktImageLoadStoreTests.cpp676 colorExpr += "-" + de::toString(deRoundFloatToInt32((float)deMax32(xMax, yMax) / 2.0f)); in initPrograms()
1421 std::string xMaxSize = de::toString(deMax32(((m_texture.layerSize().x() >> levelNdx) - 1), 1u)); in initPrograms()
1439 std::string xMaxSize = de::toString(deMax32(((m_texture.layerSize().x() >> levelNdx) - 1), 1u)); in initPrograms()
1458 std::string xMaxSize = de::toString(deMax32(((m_texture.layerSize().x() >> levelNdx) - 1), 1u)); in initPrograms()
3074 int maxBitDepth = deMax32(deMax32(bitDepth[0], bitDepth[1]), deMax32(bitDepth[2], bitDepth[3])); in relaxedOK()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageTexture.cpp106 return deMax32(value >> mipmapLevel, 1); in minify()
H A DvktImageLoadStoreTests.cpp670 colorExpr += "-" + de::toString(deRoundFloatToInt32((float)deMax32(xMax, yMax) / 2.0f)); in initPrograms()
1392 std::string xMaxSize = de::toString(deMax32(((m_texture.layerSize().x() >> levelNdx) - 1), 1u)); in initPrograms()
1410 std::string xMaxSize = de::toString(deMax32(((m_texture.layerSize().x() >> levelNdx) - 1), 1u)); in initPrograms()
1429 std::string xMaxSize = de::toString(deMax32(((m_texture.layerSize().x() >> levelNdx) - 1), 1u)); in initPrograms()
3014 int maxBitDepth = deMax32(deMax32(bitDepth[0], bitDepth[1]), deMax32(bitDepth[2], bitDepth[3])); in relaxedOK()
/third_party/vk-gl-cts/modules/egl/
H A DteglQueryConfigTests.cpp150 if (numConfigReturned > deMax32(numConfigRequested, 0)) in checkGetConfigsBounds()
156 if (numOverwritten > deMax32(numConfigReturned, 0)) in checkGetConfigsBounds()
H A DteglMemoryStressTests.cpp442 max = deMax32(m_allocationCounts[allocNdx], max); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesBase.cpp144 selectedQueueFamilies[queueFamilyIndex].queueCount = deMax32(queuesPerFamilyCount, selectedQueueFamilies[queueFamilyIndex].queueCount); in createDeviceSupportingQueues()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
H A DvktSparseResourcesBase.cpp140 selectedQueueFamilies[queueFamilyIndex].queueCount = deMax32(queuesPerFamilyCount, selectedQueueFamilies[queueFamilyIndex].queueCount); in createDeviceSupportingQueues()
/third_party/vk-gl-cts/framework/delibs/debase/
H A DdeInt32Test.c142 int NUM_ITERS = deMax32(16, 1 << (numBits/2)); in deInt32_selfTest()
H A DdeInt32.h75 DE_INLINE int deMax32 (int a, int b) in deMax32() function
/third_party/vk-gl-cts/modules/glshared/
H A DglsMemoryStressCase.cpp476 int unusedSize = deMax32(m_config.maxBufferSize, m_config.maxTextureSize*m_config.maxTextureSize*4); in MemObjectAllocator()
894 max = deMax32(m_allocated[allocNdx], max); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImageTests.cpp184 (deUint32)deLog2Floor32(deMax32(imageSize.x(), deMax32(imageSize.y(), imageSize.z()))) + 1, in getImageSamplingInstanceParams()
H A DvktPipelineImageViewTests.cpp352 return deLog2Floor32(deMax32(imageSize.x(), deMax32(imageSize.y(), imageSize.z()))) + 1; in getNumLevels()
H A DvktPipelineRenderToImageTests.cpp174 return deMax32(size.z(), size.w()); in maxLayersOrDepth()
1298 baseSize.x() = deMax32(baseSize.x() >> 1, 1); in getMipLevelSizes()
1299 baseSize.y() = deMax32(baseSize.y() >> 1, 1); in getMipLevelSizes()
1300 baseSize.z() = deMax32(baseSize.z() >> 1, 1); in getMipLevelSizes()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineImageTests.cpp178 (deUint32)deLog2Floor32(deMax32(imageSize.x(), deMax32(imageSize.y(), imageSize.z()))) + 1, in getImageSamplingInstanceParams()
H A DvktPipelineImageViewTests.cpp346 return deLog2Floor32(deMax32(imageSize.x(), deMax32(imageSize.y(), imageSize.z()))) + 1; in getNumLevels()
H A DvktPipelineRenderToImageTests.cpp172 return deMax32(size.z(), size.w()); in maxLayersOrDepth()
1177 baseSize.x() = deMax32(baseSize.x() >> 1, 1); in getMipLevelSizes()
1178 baseSize.y() = deMax32(baseSize.y() >> 1, 1); in getMipLevelSizes()
1179 baseSize.z() = deMax32(baseSize.z() >> 1, 1); in getMipLevelSizes()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
H A DvktSubgroupsSizeControlTests.cpp95 const deUint32 localSizeY = gcd(deMax32(numWorkGroupInvocations / localSizeX, 1u), maxWorkGroupSize[1]); in getLocalSizes()
96 const deUint32 localSizeZ = deMax32(numWorkGroupInvocations / (localSizeX * localSizeY), 1u); in getLocalSizes()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fTextureUnitTests.cpp625 m_numTextures = rnd.getInt(deMax32(1, m_numUnits - 2), m_numUnits); // Sometimes assign same texture to multiple units. in init()
716 int curCellSize = deMax32(1, GRID_CELL_SIZE >> levelNdx); // \note Scale grid cell size for mipmaps. in init()

Completed in 38 milliseconds

12