summaryrefslogtreecommitdiff
path: root/retrace/daemon/glframe_retrace_skeleton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'retrace/daemon/glframe_retrace_skeleton.cpp')
-rw-r--r--retrace/daemon/glframe_retrace_skeleton.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/retrace/daemon/glframe_retrace_skeleton.cpp b/retrace/daemon/glframe_retrace_skeleton.cpp
index a718af33..8b032052 100644
--- a/retrace/daemon/glframe_retrace_skeleton.cpp
+++ b/retrace/daemon/glframe_retrace_skeleton.cpp
@@ -185,17 +185,23 @@ void
FrameRetraceSkeleton::onShaderAssembly(RenderId renderId,
const std::string &vertex_shader,
const std::string &vertex_ir,
+ const std::string &vertex_nir,
+ const std::string &vertex_ssa,
const std::string &vertex_vec4,
const std::string &fragment_shader,
const std::string &fragment_ir,
const std::string &fragment_simd8,
const std::string &fragment_simd16,
const std::string &fragment_nir_ssa,
- const std::string &fragment_nir_final) {
+ const std::string &fragment_nir_final,
+ const std::string &tess_control_shader,
+ const std::string &tess_eval_shader) {
RetraceResponse proto_response;
auto shader = proto_response.mutable_shaderassembly();
shader->set_vertex_shader(vertex_shader);
shader->set_vertex_ir(vertex_ir);
+ shader->set_vertex_nir(vertex_nir);
+ shader->set_vertex_ssa(vertex_ssa);
shader->set_vertex_vec4(vertex_vec4);
shader->set_fragment_shader(fragment_shader);
shader->set_fragment_ir(fragment_ir);
@@ -203,6 +209,8 @@ FrameRetraceSkeleton::onShaderAssembly(RenderId renderId,
shader->set_fragment_simd16(fragment_simd16);
shader->set_fragment_ssa(fragment_nir_ssa);
shader->set_fragment_nir(fragment_nir_final);
+ shader->set_tess_control_shader(tess_control_shader);
+ shader->set_tess_eval_shader(tess_eval_shader);
writeResponse(m_socket, proto_response, &m_buf);
}