diff options
Diffstat (limited to 'tools/gpu/vk/VkTestContext.h')
-rw-r--r-- | tools/gpu/vk/VkTestContext.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/gpu/vk/VkTestContext.h b/tools/gpu/vk/VkTestContext.h index 0e62cc0b8c..920f53534e 100644 --- a/tools/gpu/vk/VkTestContext.h +++ b/tools/gpu/vk/VkTestContext.h @@ -26,11 +26,13 @@ public: const GrVkInterface* vk() const { return fVk.fInterface.get(); } protected: - VkTestContext(const GrVkBackendContext& vk, bool ownsContext) - : fVk(vk), fOwnsContext(ownsContext) {} + VkTestContext(const GrVkBackendContext& vk, bool ownsContext, + VkDebugReportCallbackEXT debugCallback) + : fVk(vk), fOwnsContext(ownsContext), fDebugCallback(debugCallback) {} GrVkBackendContext fVk; bool fOwnsContext; + VkDebugReportCallbackEXT fDebugCallback = VK_NULL_HANDLE; private: typedef TestContext INHERITED; |