MCPcopy Create free account
hub / github.com/NVIDIA-RTX/RTXPT / EnqueueShaderForCompilation

Method EnqueueShaderForCompilation

Rtxpt/SampleCommon/ComputePipelineBaker.cpp:84–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void ComputePipelineBaker::EnqueueShaderForCompilation(ComputeShaderVariant* variant)
85{
86 if (variant->m_compileCmdLine != "")
87 {
88 auto [it, inserted] = m_parallelCompileListUnique.try_emplace(variant->m_compiledFileNameNoExt, variant);
89 // If not inserted, it means another variant with the same output already exists
90 // (unlikely for compute shaders with unique debug names, but handled for safety)
91 }
92 m_parallelCompileListAll.push_back(variant);
93}
94
95void ComputePipelineBaker::Update(bool forceReload)
96{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected