diff options
author | Lingfeng Yang <lfy@google.com> | 2021-02-08 08:38:53 -0800 |
---|---|---|
committer | Lingfeng Yang <lfy@google.com> | 2021-02-18 09:12:16 -0800 |
commit | 6e552ac5dffcf7097cf27d24a5868bb8e4b5729a (patch) | |
tree | 7dde9e41c181dde0f1c0fa19b86e8783565e36ed /host-common | |
parent | 9123de0bc65747d047735899e0f02b275c8c6256 (diff) | |
download | vulkan-cereal-6e552ac5dffcf7097cf27d24a5868bb8e4b5729a.tar.gz |
[1/n] batched descriptor update: codegen
Bug: 177241396
Add new commands
vkQueueCommitDescriptorSetUpdates
vkCollectDescriptorPoolIds
The first is used to commit the descriptor set updates to the host,
while the second is so the guest can allocate a bunch of virtual
descriptor set host handles without talking to the host for each one.
This also requires wrapping of:
vkCmdBindDescriptorSets
vKDestroyDescriptorSetLayout
in the guest. In the first case, we need to track the relevant
descriptor sets to commit for a given submission. In the second case,
since we've modified descriptor set lifetimes on the host driver we need
to ensure the layouts aren't destroyed until the sets are destroyed.
Change-Id: I10306951533071150e88389e6fb604eb0ad5ab62
Diffstat (limited to 'host-common')
0 files changed, 0 insertions, 0 deletions