aboutsummaryrefslogtreecommitdiff
path: root/src/vulkan/descriptor.h
diff options
context:
space:
mode:
authorPaul Thomson <paulthomson@google.com>2021-10-12 13:38:21 +0100
committerPaul Thomson <paulthomson@google.com>2021-10-12 13:38:42 +0100
commitf3b1d8fd9a3dfb99df5b8ba7900b3493ee0329a8 (patch)
tree17024a345cc88eba5ba0a838d8fd11af3aef8350 /src/vulkan/descriptor.h
parent69207cd4d09b81e2b6d350d8a7a929904e4aa66f (diff)
parent8797ee109e7a6ea4d1f58f387f757545fa35325b (diff)
downloadamber-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.h2
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; }