tinyfx
tinyfx copied to clipboard
fix framebuffer invalidation
upon trying to use it again, and looking at how it is implemented, I realized that as-is the view invalidation flag can't work for most cases.
it should be able to throw out the data after resolving msaa, and there should be a way to indicate in a more granular way which attachments you don't care about. right now, it throws them all out on binding the next framebuffer if you've set this flag, which generally just gives you a corrupted render.