diff options
Diffstat (limited to 'retrace/daemon/glframe_retrace.cpp')
-rw-r--r-- | retrace/daemon/glframe_retrace.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/retrace/daemon/glframe_retrace.cpp b/retrace/daemon/glframe_retrace.cpp index 88a2fdd5..fc0e1fa0 100644 --- a/retrace/daemon/glframe_retrace.cpp +++ b/retrace/daemon/glframe_retrace.cpp @@ -222,7 +222,8 @@ FrameRetrace::retraceShaderAssembly(RenderId renderId, tmp_tracker.currentVertexShader(), tmp_tracker.currentFragmentShader(), tmp_tracker.currentTessControlShader(), - tmp_tracker.currentTessEvalShader()); + tmp_tracker.currentTessEvalShader(), + tmp_tracker.currentGeomShader()); } FrameState::FrameState(const std::string &filename, @@ -296,6 +297,7 @@ FrameRetrace::replaceShaders(RenderId renderId, const std::string &fs, const std::string &tessControl, const std::string &tessEval, + const std::string &geom, OnFrameRetrace *callback) { GRLOGF(DEBUG, "%s\n%s", vs.c_str(), fs.c_str()); std::string message; @@ -303,6 +305,7 @@ FrameRetrace::replaceShaders(RenderId renderId, vs, fs, tessControl, tessEval, + geom, &message); if (!result) GRLOGF(WARN, "compile failed: %s", message.c_str()); |