From 82515f9d90ac149984013f0d64c1cab37b349b29 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Fri, 19 Jul 2024 14:33:34 +1000 Subject: chore clang format + tidy --- src/ral/backends/vulkan/backend_vulkan.h | 42 ++++++++++++++++---------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'src/ral/backends/vulkan') diff --git a/src/ral/backends/vulkan/backend_vulkan.h b/src/ral/backends/vulkan/backend_vulkan.h index 790344b..f31bed2 100644 --- a/src/ral/backends/vulkan/backend_vulkan.h +++ b/src/ral/backends/vulkan/backend_vulkan.h @@ -1,10 +1,10 @@ #pragma once #ifdef CEL_REND_BACKEND_VULKAN -#include "ral_impl.h" #include "defines.h" #include "maths_types.h" #include "ral.h" +#include "ral_impl.h" #include "ral_types.h" #include @@ -14,31 +14,31 @@ // Provide definitions for RAL structs struct GPU_Swapchain { - VkSwapchainKHR handle; + VkSwapchainKHR handle; }; struct GPU_Device { - VkPhysicalDevice physical_device; - VkDevice logical_device; + VkPhysicalDevice physical_device; + VkDevice logical_device; }; struct GPU_PipelineLayout {}; - struct GPU_Pipeline {}; - struct GPU_Renderpass {}; - struct GPU_CmdEncoder {}; - struct GPU_CmdBuffer {}; - struct GPU_Buffer { - VkBuffer handle; - VkDeviceMemory memory; - u64 size; - }; - struct GPU_Texture { - VkImage handle; - VkDeviceMemory memory; - u64 size; - VkImageView view; - VkSampler sampler; - char* debug_label; - }; +struct GPU_Pipeline {}; +struct GPU_Renderpass {}; +struct GPU_CmdEncoder {}; +struct GPU_CmdBuffer {}; +struct GPU_Buffer { + VkBuffer handle; + VkDeviceMemory memory; + u64 size; +}; +struct GPU_Texture { + VkImage handle; + VkDeviceMemory memory; + u64 size; + VkImageView view; + VkSampler sampler; + char* debug_label; +}; #endif -- cgit v1.2.3-70-g09d2