Searched refs:bestH (Results 1 – 1 of 1) sorted by relevance
825 vk::VkDeviceSize bestH = maxTexelCount / bestW; in roundBufferSizeToWxHx4() local828 …for (vk::VkDeviceSize w = 1; w * w < maxTexelCount && w < maxTextureSize && bestW * bestH * 4 < si… in roundBufferSizeToWxHx4()832 if (bestW * bestH < w * h) in roundBufferSizeToWxHx4()835 bestH = h; in roundBufferSizeToWxHx4()839 return bestW * bestH * 4; in roundBufferSizeToWxHx4()