Home
last modified time | relevance | path

Searched refs:divRoundUp (Results 1 – 6 of 6) sorted by relevance

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativeTextureApiTests.cpp47 static inline int divRoundUp (int a, int b) in divRoundUp() function
54 return (int)(divRoundUp(width, 4) * divRoundUp(height, 4) * sizeof(deUint64)); in etc2DataSize()
471 …dTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_R11_EAC, 1, 1, 0, divRoundUp(1, 4) * divRoundUp(1, 4) … in compressedteximage2d_invalid_size()
473 …ge2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_SIGNED_R11_EAC, 1, 1, 0, divRoundUp(1, 4) * divRoundUp(1, 4) … in compressedteximage2d_invalid_size()
475 …TexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RG11_EAC, 1, 1, 0, divRoundUp(1, 4) * divRoundUp(1, 4) … in compressedteximage2d_invalid_size()
477 …e2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_SIGNED_RG11_EAC, 1, 1, 0, divRoundUp(1, 4) * divRoundUp(1, 4) … in compressedteximage2d_invalid_size()
479 …exImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RGB8_ETC2, 1, 1, 0, divRoundUp(1, 4) * divRoundUp(1, 4) … in compressedteximage2d_invalid_size()
481 …xImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_SRGB8_ETC2, 1, 1, 0, divRoundUp(1, 4) * divRoundUp(1, 4) … in compressedteximage2d_invalid_size()
483 …_2D, 0, GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2, 1, 1, 0, divRoundUp(1, 4) * divRoundUp(1, 4) … in compressedteximage2d_invalid_size()
485 …2D, 0, GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2, 1, 1, 0, divRoundUp(1, 4) * divRoundUp(1, 4) … in compressedteximage2d_invalid_size()
[all …]
Des31fCopyImageTests.cpp744 IVec3 divRoundUp (const IVec3& a, const IVec3& b) in divRoundUp() function
840 const IVec3 levelTexelBlockSize = divRoundUp(levelPixelSize, texelBlockPixelSize); in genTextureImage()
989 const IVec3 textureTexelBlockSize = divRoundUp(size, texelBlockPixelSize); in getTexelBlockStride()
1090 const IVec3 levelTexelBlockSize = divRoundUp(levelPixelSize, texelBlockPixelSize); in getCubeLevelAccesses()
1502 const IVec3 levelTexelBlockSize = divRoundUp(levelPixelSize, texelBlockPixelSize); in renderTextureCubemap()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp74 T divRoundUp (const T& a, const T& b) in divRoundUp() function
112 : m_data(divRoundUp<size_t>(size, (size_t)BLOCK_BIT_SIZE), value ? ~0x0u : 0x0u) in BitVector()
1268 + divRoundUp<VkDeviceSize>(minAllocationSize, 8) in full()
1269 + divRoundUp<VkDeviceSize>(minAllocationSize, m_minAtomSize * 8); in full()
1320 + divRoundUp<VkDeviceSize>(minAllocationSize, 8) in allocateRandom()
1321 + divRoundUp<VkDeviceSize>(minAllocationSize, atomSize * 8); in allocateRandom()
1400 …const VkDeviceSize referenceMemoryUsage = size + divRoundUp<VkDeviceSize>(size, 8) + divRoundUp<… in allocateRandom()
DvktMemoryPipelineBarrierTests.cpp99 T divRoundUp (const T& a, const T& b) in divRoundUp() function
4966 …const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)MAX_U… in prepare()
5152 …const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)m_max… in prepare()
5329 …const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)MAX_S… in prepare()
5509 …const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)m_max… in prepare()
6069 …const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)MAX_U… in prepare()
6089 …m_valuesPerPixel = (deUint32)divRoundUp<size_t>(descriptorCount * de::min<size_t>((size_t)m_buffer… in prepare()
6359 (deUint32)divRoundUp<vk::VkDeviceSize>(m_bufferSize / 4, m_targetWidth * m_targetHeight), in submit()
6370 …const deUint32 valuesPerPixel = (deUint32)divRoundUp<vk::VkDeviceSize>(m_bufferSize / 4, m_targetW… in verify()
6487 …const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)m_max… in prepare()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.cpp729 deUint32 divRoundUp (deUint32 a, deUint32 b) in divRoundUp() function
792 const deUint32 byteCount = divRoundUp((bitOffset + m_channelSize) - 8u * (bitOffset / 8u), 8u); in getChannelUint()
810 const deUint32 byteCount = divRoundUp((bitOffset + m_channelSize) - 8u * (bitOffset / 8u), 8u); in setChannel()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fNegativeTextureApiTests.cpp53 static inline int divRoundUp (int a, int b) in divRoundUp() function
60 return (int)(divRoundUp(width, 4) * divRoundUp(height, 4) * sizeof(deUint64)); in etc2DataSize()