aboutsummaryrefslogtreecommitdiff
path: root/host/vulkan/VkDecoderSnapshotUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/vulkan/VkDecoderSnapshotUtils.h')
-rw-r--r--host/vulkan/VkDecoderSnapshotUtils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/vulkan/VkDecoderSnapshotUtils.h b/host/vulkan/VkDecoderSnapshotUtils.h
index 7a626ecd..c07701e1 100644
--- a/host/vulkan/VkDecoderSnapshotUtils.h
+++ b/host/vulkan/VkDecoderSnapshotUtils.h
@@ -22,6 +22,7 @@ struct StateBlock {
VkPhysicalDevice physicalDevice;
const PhysicalDeviceInfo* physicalDeviceInfo;
VkDevice device;
+ VulkanDispatch* deviceDispatch;
VkQueue queue;
VkCommandPool commandPool;
};
@@ -29,5 +30,9 @@ void saveImageContent(android::base::Stream* stream, StateBlock* stateBlock, VkI
const ImageInfo* imageInfo);
void loadImageContent(android::base::Stream* stream, StateBlock* stateBlock, VkImage image,
const ImageInfo* imageInfo);
+void saveBufferContent(android::base::Stream* stream, StateBlock* stateBlock, VkBuffer buffer,
+ const BufferInfo* bufferInfo);
+void loadBufferContent(android::base::Stream* stream, StateBlock* stateBlock, VkBuffer buffer,
+ const BufferInfo* bufferInfo);
} // namespace vk
} // namespace gfxstream \ No newline at end of file