mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-18 20:52:10 +01:00
[dxvk] Add stat counter for pipeline barriers
This commit is contained in:
parent
b5078a7ec0
commit
316e252a27
@ -234,6 +234,8 @@ namespace dxvk {
|
||||
m_imgBarriers.size(),
|
||||
m_imgBarriers.data());
|
||||
|
||||
commandList->addStatCtr(DxvkStatCounter::CmdBarrierCount, 1);
|
||||
|
||||
this->reset();
|
||||
}
|
||||
}
|
||||
|
@ -5184,6 +5184,8 @@ namespace dxvk {
|
||||
m_cmd->cmdPipelineBarrier(
|
||||
DxvkCmdBuffer::ExecBuffer, srcStages, dstStages,
|
||||
flags, 1, &barrier, 0, nullptr, 0, nullptr);
|
||||
|
||||
m_cmd->addStatCtr(DxvkStatCounter::CmdBarrierCount, 1);
|
||||
}
|
||||
|
||||
|
||||
|
@ -14,6 +14,7 @@ namespace dxvk {
|
||||
CmdDrawCalls, ///< Number of draw calls
|
||||
CmdDispatchCalls, ///< Number of compute calls
|
||||
CmdRenderPassCount, ///< Number of render passes
|
||||
CmdBarrierCount, ///< Number of pipeline barriers
|
||||
PipeCountGraphics, ///< Number of graphics pipelines
|
||||
PipeCountCompute, ///< Number of compute pipelines
|
||||
PipeCompilerBusy, ///< Boolean indicating compiler activity
|
||||
|
Loading…
x
Reference in New Issue
Block a user