| Index: gpu/vulkan/vulkan_render_pass.h
|
| diff --git a/gpu/vulkan/vulkan_render_pass.h b/gpu/vulkan/vulkan_render_pass.h
|
| index 6cb8009ba812064db4e5b183f8c3d01e8a5192db..7f47deef940c97492b0ebb4f7d3b82afa180ee6b 100644
|
| --- a/gpu/vulkan/vulkan_render_pass.h
|
| +++ b/gpu/vulkan/vulkan_render_pass.h
|
| @@ -14,6 +14,7 @@
|
| namespace gpu {
|
|
|
| class CommandBufferRecorderBase;
|
| +class VulkanDeviceQueue;
|
| class VulkanImageView;
|
| class VulkanSwapChain;
|
|
|
| @@ -79,7 +80,7 @@ class VULKAN_EXPORT VulkanRenderPass {
|
| bool ValidateData(const VulkanSwapChain* swap_chain) const;
|
| };
|
|
|
| - VulkanRenderPass();
|
| + explicit VulkanRenderPass(VulkanDeviceQueue* device_queue);
|
| ~VulkanRenderPass();
|
|
|
| bool Initialize(const VulkanSwapChain* swap_chain,
|
| @@ -102,6 +103,7 @@ class VULKAN_EXPORT VulkanRenderPass {
|
| void SetClearValue(uint32_t attachment_index, VkClearValue clear_value);
|
|
|
| private:
|
| + VulkanDeviceQueue* device_queue_ = nullptr;
|
| const VulkanSwapChain* swap_chain_ = nullptr;
|
| uint32_t num_sub_passes_ = 0;
|
| uint32_t current_sub_pass_ = 0;
|
|
|