| Index: gpu/vulkan/vulkan_command_pool.h
|
| diff --git a/gpu/vulkan/vulkan_command_pool.h b/gpu/vulkan/vulkan_command_pool.h
|
| index 091fd4efb3b04e885e849199655e0f54e84a5eb7..5b763ef5801b222d63f06bfaf40d24f0ee7c0287 100644
|
| --- a/gpu/vulkan/vulkan_command_pool.h
|
| +++ b/gpu/vulkan/vulkan_command_pool.h
|
| @@ -13,10 +13,11 @@
|
| namespace gpu {
|
|
|
| class VulkanCommandBuffer;
|
| +class VulkanDeviceQueue;
|
|
|
| class VulkanCommandPool {
|
| public:
|
| - VulkanCommandPool(VkDevice device, uint32_t queue_index);
|
| + explicit VulkanCommandPool(VulkanDeviceQueue* device_queue);
|
| ~VulkanCommandPool();
|
|
|
| bool Initialize();
|
| @@ -33,8 +34,7 @@ class VulkanCommandPool {
|
| void IncrementCommandBufferCount();
|
| void DecrementCommandBufferCount();
|
|
|
| - VkDevice device_ = VK_NULL_HANDLE;
|
| - uint32_t queue_index_ = 0;
|
| + VulkanDeviceQueue* device_queue_;
|
| VkCommandPool handle_ = VK_NULL_HANDLE;
|
| uint32_t command_buffer_count_ = 0;
|
|
|
|
|