MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / updatePrograms

Method updatePrograms

Source/RenderPasses/FLIPPass/FLIPPass.cpp:177–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void FLIPPass::updatePrograms()
178{
179 if (mRecompile == false)
180 {
181 return;
182 }
183
184 DefineList defines;
185 defines.add("TONE_MAPPER", std::to_string((uint32_t)mToneMapper));
186
187 mpFLIPPass->getProgram()->addDefines(defines);
188
189 mRecompile = false;
190}
191
192static void solveSecondDegree(const float a, const float b, float c, float& xMin, float& xMax)
193{

Callers

nothing calls this directly

Calls 4

addDefinesMethod · 0.80
getProgramMethod · 0.80
to_stringFunction · 0.50
addMethod · 0.45

Tested by

no test coverage detected