Searched refs:maxTexelCount (Results 1 – 1 of 1) sorted by relevance
823 vk::VkDeviceSize maxTexelCount = size / 4; in roundBufferSizeToWxHx4() local824 vk::VkDeviceSize bestW = de::max(maxTexelCount, maxTextureSize); in roundBufferSizeToWxHx4()825 vk::VkDeviceSize bestH = maxTexelCount / bestW; in roundBufferSizeToWxHx4()828 …for (vk::VkDeviceSize w = 1; w * w < maxTexelCount && w < maxTextureSize && bestW * bestH * 4 < si… in roundBufferSizeToWxHx4()830 const vk::VkDeviceSize h = maxTexelCount / w; in roundBufferSizeToWxHx4()