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

Overhead of SetXXXRootSignature

$
0
0

Hey Guys,

 

IIRC, dx12 rootsignature kinda define the layout of GPU memory of intended usage, so it seems ideally, we should only set rootsignature once during program startup? However, that require all you passes need a global knowledge about the memory layout of all other passes, which doesn't sound like a good design strategy (or you may need a delegate class to handle rootsignature in a post-processing fashion).   So I guess, it's should be fine to switch to different rootsignatures within on frame?  but how about the overhead of switching rootsignature for each different PSOs(like 30+ per frame)?  It will be greatly appreciated if someone could share their idea about that

 

Thanks


Viewing all articles
Browse latest Browse all 17560

Trending Articles



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