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

Method finalize

Source/Falcor/Core/Program/Program.cpp:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49{
50
51void ProgramDesc::finalize()
52{
53 uint32_t globalIndex = 0;
54 for (auto& entryPointGroup : entryPointGroups)
55 for (auto& entryPoint : entryPointGroup.entryPoints)
56 entryPoint.globalIndex = globalIndex++;
57}
58
59Program::Program(ref<Device> pDevice, ProgramDesc desc, DefineList defineList)
60 : mpDevice(std::move(pDevice)), mDesc(std::move(desc)), mDefineList(std::move(defineList)), mTypeConformanceList(mDesc.typeConformances)

Callers 1

ProgramMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected