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

Method submit

Source/Falcor/Core/API/CopyContext.cpp:70–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void CopyContext::submit(bool wait)
71{
72 if (mCommandsPending)
73 {
74 mpLowLevelData->submitCommandBuffer();
75 mCommandsPending = false;
76 }
77 else
78 {
79 // We need to signal even if there are no commands to execute. We need this because some resources may have been released since the
80 // last flush(), and unless we signal they will not be released
81 signal(mpLowLevelData->getFence().get());
82 }
83
84 bindDescriptorHeaps();
85
86 if (wait)
87 {
88 mpLowLevelData->getFence()->wait();
89 }
90}
91
92uint64_t CopyContext::signal(Fence* pFence, uint64_t value)
93{

Callers 15

executeMethod · 0.45
executeMethod · 0.45
executeInternalMethod · 0.45
executeMethod · 0.45
initializeDLSSMethod · 0.45
evaluateDLSSMethod · 0.45
executeMethod · 0.45
verifyDataMethod · 0.45
endFrameMethod · 0.45
endMethod · 0.45
endFrameMethod · 0.45

Calls 3

submitCommandBufferMethod · 0.80
getMethod · 0.45
waitMethod · 0.45

Tested by 7

verifyDataMethod · 0.36
frameMethod · 0.36
GPU_TESTFunction · 0.36
initBufferIndirectFunction · 0.36
readBufferIndirectFunction · 0.36
generate_refsFunction · 0.36
run_testsFunction · 0.36