Hi guys!
I have to run custom pixel shader to clear RTV (draw call 1).
After that I run another pixel shader on that RTV to render objects (draw call 2).
Do I need to insert resource barrier between two draw calls provided that RTV is already in render target state?
The same thing with UAV. I run custom compute shader to clear UAV and then run another compute shader to do actual calculations.
Do I need resource barrier between these two draw calls?
Thanks!
↧