Pipeline Compilation Helpers
-
namespace d3d
-
template<bool allow_compute_pipelines = true>
struct AutoPipelineAsyncCompile - #include <dag_async_pipeline.h>
Enables async pipeline compilation in its scope when allow_compute_pipelines is false, only graphics pipelines are async compiled (compute compiled as is) override parameter in constructor may be used to supply game logic for async pipeline enable/disable.
-
template<bool allow_compute_pipelines = true>
class AutoPipelineAsyncCompileFeedback - #include <dag_async_pipeline.h>
When feedback supported, enables async pipeline compilation and captures async compilation skip count into feedback_ptr in its scope needRetry field will be set if any pipeline was skipped in previous frames externalNeedRetry field will be set if any other (external) AsyncCompileFeedback in frame has needRetry set when feedback not supported, does nothing when allow_compute_pipelines is false, only graphics pipelines are async compiled (compute compiled as is)
-
struct AutoPipelineSyncCompile
- #include <dag_async_pipeline.h>
Disables async pipeline compilation in its scope.
-
template<bool allow_compute_pipelines = true>