diff options
author | Paul Thomson <paulthomson@google.com> | 2021-10-12 13:38:21 +0100 |
---|---|---|
committer | Paul Thomson <paulthomson@google.com> | 2021-10-12 13:38:42 +0100 |
commit | f3b1d8fd9a3dfb99df5b8ba7900b3493ee0329a8 (patch) | |
tree | 17024a345cc88eba5ba0a838d8fd11af3aef8350 /src/vulkan/descriptor.h | |
parent | 69207cd4d09b81e2b6d350d8a7a929904e4aa66f (diff) | |
parent | 8797ee109e7a6ea4d1f58f387f757545fa35325b (diff) | |
download | amber-f3b1d8fd9a3dfb99df5b8ba7900b3493ee0329a8.tar.gz |
Merge commit '8797ee109e7a6ea4d1f58f387f757545fa35325b' into master
Bug: b/201652781
Change-Id: Ibb8fbe9137d18fa6f6109ad5f51ec8e7c5f9cfbb
Diffstat (limited to 'src/vulkan/descriptor.h')
-rw-r--r-- | src/vulkan/descriptor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vulkan/descriptor.h b/src/vulkan/descriptor.h index ba702ff..03434a3 100644 --- a/src/vulkan/descriptor.h +++ b/src/vulkan/descriptor.h @@ -64,6 +64,8 @@ class Descriptor { virtual Result AddToBuffer(const std::vector<Value>&, uint32_t) { return {}; } virtual uint32_t GetDescriptorCount() { return 1; } virtual std::vector<uint32_t> GetDynamicOffsets() { return {}; } + virtual std::vector<VkDeviceSize> GetDescriptorOffsets() { return {}; } + virtual std::vector<VkDeviceSize> GetDescriptorRanges() { return {}; } virtual BufferDescriptor* AsBufferDescriptor() { return nullptr; } virtual BufferBackedDescriptor* AsBufferBackedDescriptor() { return nullptr; } virtual SamplerDescriptor* AsSamplerDescriptor() { return nullptr; } |