Searched refs:maxTexelCount (Results 1 – 1 of 1) sorted by relevance
866 vk::VkDeviceSize maxTexelCount = size / 4; in roundBufferSizeToWxHx4() local867 vk::VkDeviceSize bestW = de::max(maxTexelCount, maxTextureSize); in roundBufferSizeToWxHx4()868 vk::VkDeviceSize bestH = maxTexelCount / bestW; in roundBufferSizeToWxHx4()871 …for (vk::VkDeviceSize w = 1; w * w < maxTexelCount && w < maxTextureSize && bestW * bestH * 4 < si… in roundBufferSizeToWxHx4()873 const vk::VkDeviceSize h = maxTexelCount / w; in roundBufferSizeToWxHx4()