Update replay proxy to use new serialisation mechanism

This commit is contained in:
baldurk
2017-11-07 19:30:36 +00:00
parent 9388d2b71b
commit b992e95f94
28 changed files with 1585 additions and 3127 deletions
+4 -1
View File
@@ -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