Commit Graph
22 Commits
Author SHA1 Message Date
Amit PrakashandBaldur Karlsson 2db56c2a86 Remove peak clock flag in opening GPA context
* Remove peak clock flag while interrogating GPA about counter
information.
2018-12-11 11:08:28 +00:00
baldurk 7fe45cee05 Suppress technically accurate but annoying warning about unused member 2018-05-24 23:16:38 +01:00
baldurk 9702d214c0 Fix GCC8 compile warning 2018-05-24 21:53:42 +01:00
Amit Prakashandbaldurk c82ff2de93 Move DX12 debug layer flag out of common code
Change-Id: I5c0a80c772b470be7970abe428cfd2f7a7ea17dd
2018-05-24 21:42:30 +01:00
Amit Prakashandbaldurk 288e0239c2 Fix Baldur review
Change-Id: I4430d0ec658ec9859226086a879c3e134a20b5e4
2018-05-24 21:42:30 +01:00
Amit Prakashandbaldurk 6cf36322c1 Add GPA-v3.0
* Currently GPA is disabled for DX12 debug version

Change-Id: Id942f32c809e30e502f7513b03b72e4a9dbec0a7
2018-05-24 21:42:30 +01:00
baldurk c165a15c5c Demote context open failure to warning - could just not be AMD HW. 2018-03-01 18:45:33 +00:00
baldurk f01aab4815 Replace manual calls to GPA_LoggingCallback with RDCERR calls
* This means we get accurate line numbers for error messages.
2018-02-28 12:18:48 +00:00
herb marselasandbaldurk f720cd1e7d AMD GPUPerfAPI 3.0 Preview Integration.
Direct3D11, Direct3D12, OpenGL, and Vulkan supported.
Fixes Direct3D11 counter command isolation.
2018-02-28 12:10:36 +00:00
baldurk e305029ddd Update copyright years to 2018 2018-01-01 17:55:29 +00:00
baldurk ebaefc82a9 Normalise and make python/public interface more consistent
* We enforce a naming scheme more strongly - types, member functions,
  and enum values must be UpperCaseCamel, and member variables must be
  lowerCaseCamel. No underscores allowed.
* eventId not eventID or EID, and Id preferred to ID in general. Also
  for resourceId.
* Removed some lingering hungarian m_Foo naming.
* Some pipeline state structs that are almost identical between the
  different APIs are pulled out into common structs. Where something
  doesn't make sense (e.g. viewport enable for vulkan) it will just be
  set to a sensible default (in that case always true).
* Changed scissors to be x/y & width/height instead of sometimes
  left/top/right/bottom
* Abbreviations are discouraged, e.g. operation not op, function not
  func.
2017-12-22 13:02:36 +00:00
baldurk 8d29758851 Remove members of public structs called 'bytes'
* It is at best confusing, and at worst could cause errors by aliasing
  with the python type.
2017-12-15 17:33:53 +00:00
baldurk 276783b948 Move custom printf & string_utils out of serialise/ folder 2017-11-03 16:07:46 +00:00
baldurk 16b8a4795b Detect incompatible versions of GPA, warn and fail gracefully. 2017-10-05 12:02:33 +01:00
Matthäus G. ChajdasandBaldur Karlsson 4bd282755d Update the AMD GPA integration for GPA 3.0. 2017-09-27 08:00:06 -07:00
baldurk 9cf53473b2 Extract plugin locating logic out of AMD ISA and reuse for counters 2017-08-24 15:00:12 +01:00
baldurk e20b42ee82 Convert counters that are in kb or ms into normalised units 2017-08-24 15:00:07 +01:00
Matthäus G. Chajdasandbaldurk cb84ff695e Add UUIDs to counter descriptors to allow uniquely identifiying them.
For built-in types, use a hard-coded GUID and just modify the last 32-bits; for the AMD counters, we just hash the description/name for now.
2017-08-24 13:21:05 +01:00
Matthäus G. Chajdasandbaldurk 29376f34cc Add a performance counter selection dialog. 2017-08-24 13:21:01 +01:00
baldurk ef84f494a2 Add a macro that enables qt-compatibility in the renderdoc replay API
* This will be used to remove the ToQStr everywhere (where it's not
  used for actual stringification of enums/structs)
2017-08-16 18:28:11 +01:00
baldurk 0516016070 Follow-up commit to b7f893b5 with minor fixes/tweaks
* Moved the AMD project under an IHV folder
* Moved the AMD headers from the D3D11 project to the AMD project, and
  added the GPUPerfAPI headers there too.
* Set the counterID inside the CounterDescription for AMD counters
* Add an extra search path for the GPUPerfAPI dlls, which will be inside
  distributed builds soon.
2017-06-15 14:59:16 +01:00
Matthäus G. Chajdasandbaldurk b7f893b559 Add backend support for AMD performance counters. 2017-06-15 14:29:55 +01:00