Hi Guys,
From my understanding, transit state of resource A is telling GPU to flush related cache (is it just the cache pointed to A or entire cache?) to ram, so will wait until all write (or just write to A) finished. And beyond that, it will responsible for decode/encode the resource.
So I was wondering: if my transition will not trigger compression/decompression, and the resource I am transiting is not touched at all since last transition(for example, for a conditional pass which is not executed sometimes), will I still get the overhead of transition resource? My guess is that this transition should only change some flag bits on GPU (or on driver end) so shouldn't cause any GPU wait time....
It will be great if someone could talk about how the transition works on GPU.
Thanks
P.S. I first posted this on Directxtech forum, but didn't get any reply for a long time, so I copied it here...