From 2905142f47163d0f409c31910cdc234e8797286c Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Fri, 27 Mar 2020 01:33:21 -0300 Subject: renderer_vulkan: Drop Vulkan-Hpp --- src/video_core/renderer_vulkan/declarations.h | 60 --------------------------- 1 file changed, 60 deletions(-) delete mode 100644 src/video_core/renderer_vulkan/declarations.h (limited to 'src/video_core/renderer_vulkan/declarations.h') diff --git a/src/video_core/renderer_vulkan/declarations.h b/src/video_core/renderer_vulkan/declarations.h deleted file mode 100644 index 89a035ca4..000000000 --- a/src/video_core/renderer_vulkan/declarations.h +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright 2019 yuzu Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#pragma once - -namespace vk { -class DispatchLoaderDynamic; -} - -namespace Vulkan { -constexpr vk::DispatchLoaderDynamic* dont_use_me_dld = nullptr; -} - -#define VULKAN_HPP_DEFAULT_DISPATCHER (*::Vulkan::dont_use_me_dld) -#define VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL 0 -#define VULKAN_HPP_DISPATCH_LOADER_DYNAMIC 1 -#include - -namespace Vulkan { - -// vulkan.hpp unique handlers use DispatchLoaderStatic -template -using UniqueHandle = vk::UniqueHandle; - -using UniqueAccelerationStructureNV = UniqueHandle; -using UniqueBuffer = UniqueHandle; -using UniqueBufferView = UniqueHandle; -using UniqueCommandBuffer = UniqueHandle; -using UniqueCommandPool = UniqueHandle; -using UniqueDescriptorPool = UniqueHandle; -using UniqueDescriptorSet = UniqueHandle; -using UniqueDescriptorSetLayout = UniqueHandle; -using UniqueDescriptorUpdateTemplate = UniqueHandle; -using UniqueDevice = UniqueHandle; -using UniqueDeviceMemory = UniqueHandle; -using UniqueEvent = UniqueHandle; -using UniqueFence = UniqueHandle; -using UniqueFramebuffer = UniqueHandle; -using UniqueImage = UniqueHandle; -using UniqueImageView = UniqueHandle; -using UniqueInstance = UniqueHandle; -using UniqueIndirectCommandsLayoutNVX = UniqueHandle; -using UniqueObjectTableNVX = UniqueHandle; -using UniquePipeline = UniqueHandle; -using UniquePipelineCache = UniqueHandle; -using UniquePipelineLayout = UniqueHandle; -using UniqueQueryPool = UniqueHandle; -using UniqueRenderPass = UniqueHandle; -using UniqueSampler = UniqueHandle; -using UniqueSamplerYcbcrConversion = UniqueHandle; -using UniqueSemaphore = UniqueHandle; -using UniqueShaderModule = UniqueHandle; -using UniqueSurfaceKHR = UniqueHandle; -using UniqueSwapchainKHR = UniqueHandle; -using UniqueValidationCacheEXT = UniqueHandle; -using UniqueDebugReportCallbackEXT = UniqueHandle; -using UniqueDebugUtilsMessengerEXT = UniqueHandle; - -} // namespace Vulkan -- cgit v1.2.3