Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

Resource synchronization

$
0
0
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!

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>