mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Set category name for all API's built-in counters, not just D3D11
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user