summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/wrapper.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-03-27 06:57:47 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-03-27 07:21:04 +0100
commit2694552b7fead62bb4283f3438c724fd86df210f (patch)
treeedbd2cb413febc9324349b21c603dc831a981e20 /src/video_core/renderer_vulkan/wrapper.h
parentrenderer_vulkan/wrapper: Add pool allocations owning templated class (diff)
downloadyuzu-2694552b7fead62bb4283f3438c724fd86df210f.tar
yuzu-2694552b7fead62bb4283f3438c724fd86df210f.tar.gz
yuzu-2694552b7fead62bb4283f3438c724fd86df210f.tar.bz2
yuzu-2694552b7fead62bb4283f3438c724fd86df210f.tar.lz
yuzu-2694552b7fead62bb4283f3438c724fd86df210f.tar.xz
yuzu-2694552b7fead62bb4283f3438c724fd86df210f.tar.zst
yuzu-2694552b7fead62bb4283f3438c724fd86df210f.zip
Diffstat (limited to 'src/video_core/renderer_vulkan/wrapper.h')
-rw-r--r--src/video_core/renderer_vulkan/wrapper.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/wrapper.h b/src/video_core/renderer_vulkan/wrapper.h
index b50e1f3c7..14dd792ed 100644
--- a/src/video_core/renderer_vulkan/wrapper.h
+++ b/src/video_core/renderer_vulkan/wrapper.h
@@ -503,4 +503,22 @@ private:
const DeviceDispatch* dld = nullptr;
};
+using BufferView = Handle<VkBufferView, VkDevice, DeviceDispatch>;
+using DebugCallback = Handle<VkDebugUtilsMessengerEXT, VkInstance, InstanceDispatch>;
+using DescriptorSetLayout = Handle<VkDescriptorSetLayout, VkDevice, DeviceDispatch>;
+using DescriptorUpdateTemplateKHR = Handle<VkDescriptorUpdateTemplateKHR, VkDevice, DeviceDispatch>;
+using Framebuffer = Handle<VkFramebuffer, VkDevice, DeviceDispatch>;
+using ImageView = Handle<VkImageView, VkDevice, DeviceDispatch>;
+using Pipeline = Handle<VkPipeline, VkDevice, DeviceDispatch>;
+using PipelineLayout = Handle<VkPipelineLayout, VkDevice, DeviceDispatch>;
+using QueryPool = Handle<VkQueryPool, VkDevice, DeviceDispatch>;
+using RenderPass = Handle<VkRenderPass, VkDevice, DeviceDispatch>;
+using Sampler = Handle<VkSampler, VkDevice, DeviceDispatch>;
+using Semaphore = Handle<VkSemaphore, VkDevice, DeviceDispatch>;
+using ShaderModule = Handle<VkShaderModule, VkDevice, DeviceDispatch>;
+using SurfaceKHR = Handle<VkSurfaceKHR, VkInstance, InstanceDispatch>;
+
+using DescriptorSets = PoolAllocations<VkDescriptorSet, VkDescriptorPool>;
+using CommandBuffers = PoolAllocations<VkCommandBuffer, VkCommandPool>;
+
} // namespace Vulkan::vk