mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Remove peak clock flag in opening GPA context
* Remove peak clock flag while interrogating GPA about counter information.
This commit is contained in:
committed by
Baldur Karlsson
parent
9d21221617
commit
2db56c2a86
@@ -175,7 +175,7 @@ bool AMDCounters::Init(ApiType apiType, void *pContext)
|
||||
}
|
||||
|
||||
status = m_pGPUPerfAPI->GPA_OpenContext(
|
||||
pContext, GPA_OPENCONTEXT_HIDE_SOFTWARE_COUNTERS_BIT | GPA_OPENCONTEXT_CLOCK_MODE_PEAK_BIT,
|
||||
pContext, GPA_OPENCONTEXT_HIDE_SOFTWARE_COUNTERS_BIT | GPA_OPENCONTEXT_CLOCK_MODE_NONE_BIT,
|
||||
&m_gpaContextId);
|
||||
if(AMD_FAILED(status))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user