text: // Copyright 2021 Dhiraj Wishal
  // SPDX-License-Identifier: Apache-2.0
  
  #pragma once
  
  #include "GraphicsCore/CommandSynchronizationPrimitive.hpp"
  #include "VulkanDevice.hpp"
  
  namespace Flint
  {
  	namespace VulkanBackend
  	{
  		class VulkanCommandSynchronizationPrimitive final : public CommandSynchronizationPrimitive
  		{
  		public:
  			VulkanCommandSynchronizationPrimitive(const std::shared_ptr<Device>& pDevice);
  			~VulkanCommandSynchronizationPrimitive() { if (!bIsTerminated) Terminate(); }
  
  			virtual void Terminate() override;
  		};
  	}
  }