rsx/d3d12: dump program content when capturing frame

This commit is contained in:
Vincent Lejeune 2015-11-10 18:59:15 +01:00
parent 85cf918aeb
commit b9d8d9383a
6 changed files with 30 additions and 1 deletions

View file

@ -939,6 +939,7 @@ namespace rsx
draw_state.stencil.data.resize(clip_w * clip_h * 4);
copy_stencil_buffer_to_memory(draw_state.stencil.data.data());
}
draw_state.programs = get_programs();
draw_state.name = name;
frame_debug.draw_calls.push_back(draw_state);
}