Searched refs:bestW (Results 1 – 1 of 1) sorted by relevance
824 vk::VkDeviceSize bestW = de::max(maxTexelCount, maxTextureSize); in roundBufferSizeToWxHx4() local825 vk::VkDeviceSize bestH = maxTexelCount / bestW; in roundBufferSizeToWxHx4()828 …for (vk::VkDeviceSize w = 1; w * w < maxTexelCount && w < maxTextureSize && bestW * bestH * 4 < si… in roundBufferSizeToWxHx4()832 if (bestW * bestH < w * h) in roundBufferSizeToWxHx4()834 bestW = w; in roundBufferSizeToWxHx4()839 return bestW * bestH * 4; in roundBufferSizeToWxHx4()