diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-11-25 12:41:32 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-11-25 12:41:32 -0500 |
| commit | aa92797f930caa1ef3104b3f333f9e15d6e6e570 (patch) | |
| tree | 80a8ca8175fb12e2326bd427120667c8743b4719 /Source/Core/VideoBackends/D3D/PerfQuery.cpp | |
| parent | dcdd4e51f6e951e8210d6548ec2962cdfc52df53 (diff) | |
| parent | 6da394a4d0891ed30fbb08f4ec853f40699f7033 (diff) | |
Merge pull request #1582 from Stevoisiak/newImprovedFormatting
More formatting and consistency fixes
Diffstat (limited to 'Source/Core/VideoBackends/D3D/PerfQuery.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/PerfQuery.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/Core/VideoBackends/D3D/PerfQuery.cpp b/Source/Core/VideoBackends/D3D/PerfQuery.cpp index 61a501d640..d80d934c7c 100644 --- a/Source/Core/VideoBackends/D3D/PerfQuery.cpp +++ b/Source/Core/VideoBackends/D3D/PerfQuery.cpp @@ -72,21 +72,13 @@ u32 PerfQuery::GetQueryResult(PerfQueryType type) u32 result = 0; if (type == PQ_ZCOMP_INPUT_ZCOMPLOC || type == PQ_ZCOMP_OUTPUT_ZCOMPLOC) - { result = m_results[PQG_ZCOMP_ZCOMPLOC]; - } else if (type == PQ_ZCOMP_INPUT || type == PQ_ZCOMP_OUTPUT) - { result = m_results[PQG_ZCOMP]; - } else if (type == PQ_BLEND_INPUT) - { result = m_results[PQG_ZCOMP] + m_results[PQG_ZCOMP_ZCOMPLOC]; - } else if (type == PQ_EFB_COPY_CLOCKS) - { result = m_results[PQG_EFB_COPY_CLOCKS]; - } return result / 4; } |
