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

Need barrier after RTV cleanrendertarget and before actual rendering?

$
0
0

Hey Guys,

 

a quick question:

do we need to insert some kind of barrier between RTV clean and actual rendering to the same RTV?

 

It seems we don't need this barrier, but after struggling with a lot resource state tracking issues in DX12, I kinda of overreacting whenever we have two GPU tasks working on same memory address...

 

If we don't need this barrier, how could we assure that when I actually write to pixel, the clear operation on the same pixel is done by then?

 

Thanks in advance


Viewing all articles
Browse latest Browse all 17560

Trending Articles



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