On Tue Jul 25 14:24:23 2023 +0000, Conor McCarthy wrote:
To support tiled resources where a single mip tail is used (as you mentioned below), mip tails are bound on resource creation (in a later patch), hence the dummy value.
You mean that memory for mip tails is not directly managed by the application, but by vkd3d? It feels a departure from the usual Vulkan and D3D12 philosophy. I'm not saying it can't be done, especially if it enables working around single mip tails (which I don't know how common are on desktop Vulkan drivers), but it feels a bit strange as a default choice. Maybe (now or in the future) this could be architected so that dummy packed tiles are used only if the Vulkan driver requires a geometry that cannot be described by the D3D12 API.