Closed
Description
We need to introduce some infrastructure of capturing the internal state, so that we can have a closer look at things when stuff goes out of the expected way. Most interesting things:
- metadata of all of the resources (by desriptors we pass at creation?)
- state of resource trackers on all the things: devices, command buffers, passes
- references from all around the world: other resources, trackers, active submissions
From this, we could go a step further and ask the capture about what are all the things connected to a single node (e.g. a texture), to get an idea of how it's referenced and transitioned. This could possibly be done off-line, as an extra analysis based on the captured data.