mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-11 17:20:56 +00:00
Update replay proxy to use new serialisation mechanism
This commit is contained in:
@@ -74,8 +74,9 @@ vector<GPUCounter> VulkanReplay::EnumerateCounters()
|
||||
return ret;
|
||||
}
|
||||
|
||||
void VulkanReplay::DescribeCounter(GPUCounter counterID, CounterDescription &desc)
|
||||
CounterDescription VulkanReplay::DescribeCounter(GPUCounter counterID)
|
||||
{
|
||||
CounterDescription desc = {};
|
||||
desc.counterID = counterID;
|
||||
// 6839CB5B-FBD2-4550-B606-8C65157C684C
|
||||
desc.uuid.bytes[0] = 0x6839CB5B;
|
||||
@@ -185,6 +186,8 @@ void VulkanReplay::DescribeCounter(GPUCounter counterID, CounterDescription &des
|
||||
desc.unit = CounterUnit::Absolute;
|
||||
break;
|
||||
}
|
||||
|
||||
return desc;
|
||||
}
|
||||
|
||||
struct VulkanGPUTimerCallback : public VulkanDrawcallCallback
|
||||
|
||||
Reference in New Issue
Block a user