diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-27 06:57:47 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-27 07:21:04 +0100 |
commit | 2694552b7fead62bb4283f3438c724fd86df210f (patch) | |
tree | edbd2cb413febc9324349b21c603dc831a981e20 /src/video_core/renderer_vulkan | |
parent | renderer_vulkan/wrapper: Add pool allocations owning templated class (diff) | |
download | yuzu-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')
-rw-r--r-- | src/video_core/renderer_vulkan/wrapper.h | 18 |
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 |