You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Falcor 7 & 8's memory and cpu frame time grow fast and infinitely as time goes on. The immediate cause is that GraphicsStateGraph.mGraph(In GraphicsState.h) having unbounded growing nodes, such that scanForMatchingNode takes longer time and failed to find the desired node every single search in each frame. The root cause is in GraphicsState::getGSO, where some of the properties(in my case, GraphicsStateObjectDesc::pBlendState is alway null) of mDesc are not properly set but mpDevice->createGraphicsStateObject updates the descriptor passed by value afterwards. This leads to cmpFunc returns false all the time.
Luckily, a short fix, appending mDesc = pGso->getDesc(); after line 112 in GraphicsState.cpp could save the day.
The text was updated successfully, but these errors were encountered:
Falcor 7 & 8's memory and cpu frame time grow fast and infinitely as time goes on. The immediate cause is that
GraphicsStateGraph.mGraph
(InGraphicsState.h
) having unbounded growing nodes, such thatscanForMatchingNode
takes longer time and failed to find the desired node every single search in each frame. The root cause is inGraphicsState::getGSO
, where some of the properties(in my case,GraphicsStateObjectDesc::pBlendState
is alway null) of mDesc are not properly set butmpDevice->createGraphicsStateObject
updates the descriptor passed by value afterwards. This leads tocmpFunc
returns false all the time.Luckily, a short fix, appending
mDesc = pGso->getDesc();
after line 112 inGraphicsState.cpp
could save the day.The text was updated successfully, but these errors were encountered: