Add a stubbed out query for pulling descriptor contents out of a store

This commit is contained in:
baldurk
2024-04-10 15:01:26 +01:00
parent 7ef216ad35
commit b94e6ff90c
20 changed files with 324 additions and 0 deletions
+20
View File
@@ -259,6 +259,26 @@ public:
return ret;
}
void SavePipelineState(uint32_t eventId) {}
rdcarray<Descriptor> GetDescriptors(ResourceId descriptorStore,
const rdcarray<DescriptorRange> &ranges)
{
size_t count = 0;
for(const DescriptorRange &r : ranges)
count += r.count;
rdcarray<Descriptor> ret;
ret.resize(count);
return ret;
}
rdcarray<SamplerDescriptor> GetSamplerDescriptors(ResourceId descriptorStore,
const rdcarray<DescriptorRange> &ranges)
{
size_t count = 0;
for(const DescriptorRange &r : ranges)
count += r.count;
rdcarray<SamplerDescriptor> ret;
ret.resize(count);
return ret;
}
DriverInformation GetDriverInfo()
{
DriverInformation ret = {};