You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Context
Recently, we switched to using `VK_IMAGE_TILING_LINEAR` to minimize memory footprint.
However, according to the [Vulkan Spec](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkImageCreateInfo.html) the `VK_IMAGE_TILING_LINEAR` tiling may only be available for 2D textures.
## Changes
* When constructing the `Adapter` class, check if it's possible to create a 3D texture with LINEAR tiling
* Add a way to query preferred tiling from `Context`
* Construct VkImage with the preferred tiling.
Differential Revision: [D66029137](https://our.internmc.facebook.com/intern/diff/D66029137/)
[ghstack-poisoned]
0 commit comments