Graphics Reference
In-Depth Information
7.6.2 Things to Avoid
In addition to advice about what to do, there are also several things you should try not to
do. This section briefly describes a few of these. Once again, these are simply suggestions
based on past experiences.
Pipeline Stalls
Although using deferred contexts and command lists lets you use multiple CPU cores to
perform your rendering work, the same hazards and advice about rendering in general
still apply. The command lists efficiently submit many state changes and draw/dispatch
calls to the Direct3D 11 runtime and driver. However, if there is an option to submit the
command lists in a variable order, then be sure to put them into the order that will allow
Figure 7.10. Determining the proper order to execute command lists, based on pipeline stalls.
Search WWH ::




Custom Search