mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 12:35:42 +00:00
Add owned-device scratch cleanup helper
This commit is contained in:
1 parent
06717ec356
commit
f4cbe28532
1 file changed
+4
@@ -152,6 +152,10 @@ static void destroyScratch(const DeviceDispatch* dd, VkDevice dev, VkDescriptorP
|
||||
S = ScratchState{};
|
||||
}
|
||||
|
||||
void FrameGen::destroyScratchResources() {
|
||||
destroyScratch(dd_, device_, descPool_);
|
||||
}
|
||||
|
||||
void FrameGen::configure(const Config& c) {
|
||||
cfg_ = c; cfg_.sanitize();
|
||||
int want = flowFinestForPreset(cfg_.perfPreset);
|
||||
|
||||
Reference in new issue
Block a user