diff options
author | Mark Janes <mark.a.janes@intel.com> | 2016-08-02 23:34:45 -0700 |
---|---|---|
committer | Mark Janes <mark.a.janes@intel.com> | 2017-06-19 14:04:47 -0700 |
commit | e7ad84336063f31c08b323bf1d8655759b0a1cfc (patch) | |
tree | 79ab38da0f7a092ed1ae82bf228dbfa31e5f5818 /retrace/daemon/glframe_retrace.cpp | |
parent | 804b94a456d73f0a281553c91d98972f96e6ce42 (diff) |
Add geometry shader tracking
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()); |