mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-03 04:30:38 +00:00
Enable the D3D12 Pixel History feature
Removed the developer config option D3D12_PixelHistory
This commit is contained in:
1 parent
226bf7071b
commit
932caeb7c8
2 files changed
+1
-8
No files matched your search
@@ -89,8 +89,6 @@
|
||||
#include "d3d12_replay.h"
|
||||
#include "d3d12_shader_cache.h"
|
||||
|
||||
RDOC_EXTERN_CONFIG(bool, D3D12_PixelHistory);
|
||||
|
||||
struct D3D12CopyPixelParams
|
||||
{
|
||||
// The image being copied from
|
||||
@@ -2737,9 +2735,6 @@ rdcarray<PixelModification> D3D12Replay::PixelHistory(rdcarray<EventUsage> event
|
||||
{
|
||||
rdcarray<PixelModification> history;
|
||||
|
||||
if(!D3D12_PixelHistory())
|
||||
return history;
|
||||
|
||||
if(events.empty())
|
||||
return history;
|
||||
|
||||
|
||||
@@ -48,8 +48,6 @@
|
||||
RDOC_CONFIG(bool, D3D12_HardwareCounters, true,
|
||||
"Enable support for IHV-specific hardware counters on D3D12.");
|
||||
|
||||
RDOC_DEBUG_CONFIG(bool, D3D12_PixelHistory, false, "BETA: Enable D3D12 pixel history support.");
|
||||
|
||||
// this is global so we can free it even after D3D12Replay is destroyed
|
||||
static HMODULE D3D12Lib = NULL;
|
||||
|
||||
@@ -309,7 +307,7 @@ APIProperties D3D12Replay::GetAPIProperties()
|
||||
(m_DriverInfo.vendor == GPUVendor::AMD || m_DriverInfo.vendor == GPUVendor::Samsung) &&
|
||||
m_RGP != NULL && m_RGP->DriverSupportsInterop();
|
||||
ret.shaderDebugging = true;
|
||||
ret.pixelHistory = D3D12_PixelHistory();
|
||||
ret.pixelHistory = true;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user