/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fNegativeTextureApiTests.cpp | 47 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 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_R11_EAC, 1, 1, 0, divRoundUp(1, 4) * divRoundUp(1, 4) * 8 - 1, 0); in compressedteximage2d_invalid_size() 473 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_SIGNED_R11_EAC, 1, 1, 0, divRoundUp(1, 4) * divRoundUp(1, 4) * 8 - 1, 0); in compressedteximage2d_invalid_size() 475 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_RG11_EAC, 1, 1, 0, divRoundUp(1, 4) * divRoundUp(1, 4) * 16 - 1, 0); in compressedteximage2d_invalid_size() 477 ctx.glCompressedTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_SIGNED_RG11_EAC, 1, 1, 0, divRoundUp( in compressedteximage2d_invalid_size() [all...] |
H A D | es31fCopyImageTests.cpp | 744 IVec3 divRoundUp (const IVec3& a, const IVec3& b) 840 const IVec3 levelTexelBlockSize = divRoundUp(levelPixelSize, texelBlockPixelSize); 989 const IVec3 textureTexelBlockSize = divRoundUp(size, texelBlockPixelSize); 1090 const IVec3 levelTexelBlockSize = divRoundUp(levelPixelSize, texelBlockPixelSize); 1502 const IVec3 levelTexelBlockSize = divRoundUp(levelPixelSize, texelBlockPixelSize);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
H A D | vktMemoryMappingTests.cpp | 74 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) 1269 + divRoundUp<VkDeviceSize>(minAllocationSize, m_minAtomSize * 8); 1320 + divRoundUp<VkDeviceSize>(minAllocationSize, 8) 1321 + divRoundUp<VkDeviceSize>(minAllocationSize, atomSize * 8); 1400 const VkDeviceSize referenceMemoryUsage = size + divRoundUp<VkDeviceSize>(size, 8) + divRoundUp<VkDeviceSize>(size / atomSize, 8);
|
H A D | vktMemoryPipelineBarrierTests.cpp | 99 T divRoundUp (const T& a, const T& b) in divRoundUp() function 4966 const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)MAX_UNIFORM_BUFFER_SIZE)); 5152 const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)m_maxUniformTexelCount * 2)); 5329 const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)MAX_STORAGE_BUFFER_SIZE)); 5509 const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)m_maxStorageTexelCount * 4)); 6069 const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)MAX_UNIFORM_BUFFER_SIZE)); 6089 m_valuesPerPixel = (deUint32)divRoundUp<size_t>(descriptorCount * de::min<size_t>((size_t)m_bufferSize / 4, MAX_UNIFORM_BUFFER_SIZE / 4), m_targetWidth * m_targetHeight); 6359 (deUint32)divRoundUp<vk::VkDeviceSize>(m_bufferSize / 4, m_targetWidth * m_targetHeight), 6370 const deUint32 valuesPerPixel = (deUint32)divRoundUp<vk::VkDeviceSize>(m_bufferSize / 4, m_targetWidth * m_targetHeight); 6487 const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSiz [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
H A D | vktMemoryMappingTests.cpp | 74 T divRoundUp (const T& a, const T& b) in divRoundUp() function 151 : m_data(divRoundUp<size_t>(size, (size_t)BLOCK_BIT_SIZE), value ? ~0x0u : 0x0u) in BitVector() 1317 + divRoundUp<VkDeviceSize>(minAllocationSize, 8) 1318 + divRoundUp<VkDeviceSize>(minAllocationSize, m_minAtomSize * 8); 1369 + divRoundUp<VkDeviceSize>(minAllocationSize, 8) 1370 + divRoundUp<VkDeviceSize>(minAllocationSize, atomSize * 8); 1449 const VkDeviceSize referenceMemoryUsage = size + divRoundUp<VkDeviceSize>(size, 8) + divRoundUp<VkDeviceSize>(size / atomSize, 8);
|
H A D | vktMemoryPipelineBarrierTests.cpp | 99 T divRoundUp (const T& a, const T& b) in divRoundUp() function 4966 const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)MAX_UNIFORM_BUFFER_SIZE)); 5152 const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)m_maxUniformTexelCount * 2)); 5329 const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)MAX_STORAGE_BUFFER_SIZE)); 5509 const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)m_maxStorageTexelCount * 4)); 6069 const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSize, (vk::VkDeviceSize)MAX_UNIFORM_BUFFER_SIZE)); 6089 m_valuesPerPixel = (deUint32)divRoundUp<size_t>(descriptorCount * de::min<size_t>((size_t)m_bufferSize / 4, MAX_UNIFORM_BUFFER_SIZE / 4), m_targetWidth * m_targetHeight); 6359 (deUint32)divRoundUp<vk::VkDeviceSize>(m_bufferSize / 4, m_targetWidth * m_targetHeight), 6370 const deUint32 valuesPerPixel = (deUint32)divRoundUp<vk::VkDeviceSize>(m_bufferSize / 4, m_targetWidth * m_targetHeight); 6487 const deUint32 descriptorCount = (deUint32)(divRoundUp(m_bufferSiz [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrUtil.cpp | 760 deUint32 divRoundUp (deUint32 a, deUint32 b) in divRoundUp() function 823 const deUint32 byteCount = divRoundUp((bitOffset + m_channelSize) - 8u * (bitOffset / 8u), 8u); in getChannelUint() 841 const deUint32 byteCount = divRoundUp((bitOffset + m_channelSize) - 8u * (bitOffset / 8u), 8u);
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
H A D | vktYCbCrUtil.cpp | 759 deUint32 divRoundUp (deUint32 a, deUint32 b) in divRoundUp() function 822 const deUint32 byteCount = divRoundUp((bitOffset + m_channelSize) - 8u * (bitOffset / 8u), 8u); in getChannelUint() 840 const deUint32 byteCount = divRoundUp((bitOffset + m_channelSize) - 8u * (bitOffset / 8u), 8u);
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fNegativeTextureApiTests.cpp | 53 static inline int divRoundUp (int a, int b) in divRoundUp() function 60 return (int)(divRoundUp(width, 4) * divRoundUp(height, 4) * sizeof(deUint64)); in etc2DataSize()
|