mirror of https://github.com/PCSX2/pcsx2.git
GS: Fix a bunch of texture copy counters not adding
This commit is contained in:
parent
f1702b5693
commit
2d8a4e13e6
|
@ -52,7 +52,7 @@ public:
|
||||||
u64 GetFrame() { return m_frame; }
|
u64 GetFrame() { return m_frame; }
|
||||||
void EndFrame();
|
void EndFrame();
|
||||||
|
|
||||||
void Put(counter_t c, double val = 0) { m_counters[c] += val; }
|
void Put(counter_t c, double val) { m_counters[c] += val; }
|
||||||
double Get(counter_t c) { return m_stats[c]; }
|
double Get(counter_t c) { return m_stats[c]; }
|
||||||
void Update();
|
void Update();
|
||||||
|
|
||||||
|
|
|
@ -2555,7 +2555,7 @@ void GSDevice12::RenderHW(GSHWDrawConfig& config)
|
||||||
|
|
||||||
const GSVector4 sRect(GSVector4(render_area) / GSVector4(rtsize.x, rtsize.y).xyxy());
|
const GSVector4 sRect(GSVector4(render_area) / GSVector4(rtsize.x, rtsize.y).xyxy());
|
||||||
DrawStretchRect(sRect, GSVector4(render_area), rtsize);
|
DrawStretchRect(sRect, GSVector4(render_area), rtsize);
|
||||||
g_perfmon.Put(GSPerfMon::TextureCopies);
|
g_perfmon.Put(GSPerfMon::TextureCopies, 1);
|
||||||
|
|
||||||
GL_POP();
|
GL_POP();
|
||||||
}
|
}
|
||||||
|
@ -2640,7 +2640,7 @@ void GSDevice12::RenderHW(GSHWDrawConfig& config)
|
||||||
SetPipeline(m_hdr_finish_pipelines[pipe.ds].get());
|
SetPipeline(m_hdr_finish_pipelines[pipe.ds].get());
|
||||||
SetUtilityTexture(hdr_rt, m_point_sampler_cpu);
|
SetUtilityTexture(hdr_rt, m_point_sampler_cpu);
|
||||||
DrawStretchRect(sRect, GSVector4(render_area), rtsize);
|
DrawStretchRect(sRect, GSVector4(render_area), rtsize);
|
||||||
g_perfmon.Put(GSPerfMon::TextureCopies);
|
g_perfmon.Put(GSPerfMon::TextureCopies, 1);
|
||||||
|
|
||||||
Recycle(hdr_rt);
|
Recycle(hdr_rt);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3001,7 +3001,7 @@ void GSDeviceVK::RenderHW(GSHWDrawConfig& config)
|
||||||
|
|
||||||
const GSVector4 sRect(GSVector4(render_area) / GSVector4(rtsize.x, rtsize.y).xyxy());
|
const GSVector4 sRect(GSVector4(render_area) / GSVector4(rtsize.x, rtsize.y).xyxy());
|
||||||
DrawStretchRect(sRect, GSVector4(render_area), rtsize);
|
DrawStretchRect(sRect, GSVector4(render_area), rtsize);
|
||||||
g_perfmon.Put(GSPerfMon::TextureCopies);
|
g_perfmon.Put(GSPerfMon::TextureCopies, 1);
|
||||||
|
|
||||||
GL_POP();
|
GL_POP();
|
||||||
}
|
}
|
||||||
|
@ -3101,7 +3101,7 @@ void GSDeviceVK::RenderHW(GSHWDrawConfig& config)
|
||||||
SetPipeline(m_hdr_finish_pipelines[pipe.ds][pipe.feedback_loop]);
|
SetPipeline(m_hdr_finish_pipelines[pipe.ds][pipe.feedback_loop]);
|
||||||
SetUtilityTexture(hdr_rt, m_point_sampler);
|
SetUtilityTexture(hdr_rt, m_point_sampler);
|
||||||
DrawStretchRect(sRect, GSVector4(render_area), rtsize);
|
DrawStretchRect(sRect, GSVector4(render_area), rtsize);
|
||||||
g_perfmon.Put(GSPerfMon::TextureCopies);
|
g_perfmon.Put(GSPerfMon::TextureCopies, 1);
|
||||||
|
|
||||||
Recycle(hdr_rt);
|
Recycle(hdr_rt);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue