Set category name for all API's built-in counters, not just D3D11

This commit is contained in:
baldurk
2018-02-12 19:39:07 +00:00
parent 48fd9bf1ed
commit 3c72341f63
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ CounterDescription D3D11Replay::DescribeCounter(GPUCounter counterID)
desc.uuid.words[2] = 0xA6DCCFE7;
desc.uuid.words[3] = 0x222FC1AC ^ (uint32_t)counterID;
desc.category = "D3D11";
desc.category = "D3D11 Built-in";
switch(counterID)
{
@@ -57,6 +57,8 @@ CounterDescription D3D12Replay::DescribeCounter(GPUCounter counterID)
desc.uuid.words[2] = 0x81F78549;
desc.uuid.words[3] = 0x4E648F22 ^ (uint32_t)counterID;
desc.category = "D3D12 Built-in";
switch(counterID)
{
case GPUCounter::EventGPUDuration:
+2
View File
@@ -74,6 +74,8 @@ CounterDescription GLReplay::DescribeCounter(GPUCounter counterID)
desc.uuid.words[2] = 0xBA18F032;
desc.uuid.words[3] = 0x9DA370A0 ^ (uint32_t)counterID;
desc.category = "OpenGL Built-in";
switch(counterID)
{
case GPUCounter::EventGPUDuration:
+2
View File
@@ -68,6 +68,8 @@ CounterDescription VulkanReplay::DescribeCounter(GPUCounter counterID)
desc.uuid.words[2] = 0xB6068C65;
desc.uuid.words[3] = 0x157C684C ^ (uint32_t)counterID;
desc.category = "Vulkan Built-in";
switch(counterID)
{
case GPUCounter::EventGPUDuration: