FNA-XNA / FNA3D

FNA3D - 3D Graphics Library for FNA
http://fna-xna.github.io/
Other
281 stars 46 forks source link

Vulkan: image layouts incorrect when using mipped render targets #188

Closed thatcosmonaut closed 10 months ago

thatcosmonaut commented 10 months ago

Certain operations cause the image layout tracking to get out of whack, particularly having to do with mip levels. We'll need some slightly more advanced state tracking on textures to make sure that the subresources have correct memory barriers - each layer and mip level can be in a different layout, so our resource tracking should be able to keep track of that.