Commit aeaa281 1 parent 7b1527e commit aeaa281 Copy full SHA for aeaa281
File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 81
81
* We slot the per-fragment data correctly accounting for the fragments that were discarded.
82
82
*/
83
83
84
+ #include " core/settings.h"
84
85
#include " driver/dxgi/dxgi_common.h"
85
86
#include " maths/formatpacking.h"
86
87
#include " d3d12_command_queue.h"
87
88
#include " d3d12_debug.h"
88
89
#include " d3d12_replay.h"
89
90
#include " d3d12_shader_cache.h"
90
91
92
+ RDOC_EXTERN_CONFIG (bool , D3D12_PixelHistory);
93
+
91
94
struct D3D12CopyPixelParams
92
95
{
93
96
// The image being copied from
@@ -2718,6 +2721,9 @@ rdcarray<PixelModification> D3D12Replay::PixelHistory(rdcarray<EventUsage> event
2718
2721
{
2719
2722
rdcarray<PixelModification> history;
2720
2723
2724
+ if (!D3D12_PixelHistory ())
2725
+ return history;
2726
+
2721
2727
if (events.empty ())
2722
2728
return history;
2723
2729
You can’t perform that action at this time.
0 commit comments