On Wed Apr 19 16:29:35 2023 +0000, Zebediah Figura wrote:
That was my first thought as well, but we need to store an image info
struct somewhere. VkWriteDescriptorSet takes a pointer to a VkDescriptorImageInfo, and that struct instance needs to live somewhere. Right now it either lives in the view or texture. Well, it can always live in the view, can't it? Or am I missing something?
Hmm right. It would live in every view that uses the default image view, but we should have space for it already.
It'll require some modifications to the code paths that fetch the VkDescriptorImageInfo, but by my quick estimate they'd change for the better.