Remove spaces before line feed
This commit is contained in:
@@ -354,14 +354,14 @@ namespace Nz
|
||||
{
|
||||
switch (comparison)
|
||||
{
|
||||
case RendererComparison::Never: return VK_COMPARE_OP_NEVER;
|
||||
case RendererComparison::Less: return VK_COMPARE_OP_LESS;
|
||||
case RendererComparison::Equal: return VK_COMPARE_OP_EQUAL;
|
||||
case RendererComparison::LessOrEqual: return VK_COMPARE_OP_LESS_OR_EQUAL;
|
||||
case RendererComparison::Greater: return VK_COMPARE_OP_GREATER;
|
||||
case RendererComparison::NotEqual: return VK_COMPARE_OP_NOT_EQUAL;
|
||||
case RendererComparison::GreaterOrEqual: return VK_COMPARE_OP_GREATER_OR_EQUAL;
|
||||
case RendererComparison::Always: return VK_COMPARE_OP_ALWAYS;
|
||||
case RendererComparison::Never: return VK_COMPARE_OP_NEVER;
|
||||
case RendererComparison::Less: return VK_COMPARE_OP_LESS;
|
||||
case RendererComparison::Equal: return VK_COMPARE_OP_EQUAL;
|
||||
case RendererComparison::LessOrEqual: return VK_COMPARE_OP_LESS_OR_EQUAL;
|
||||
case RendererComparison::Greater: return VK_COMPARE_OP_GREATER;
|
||||
case RendererComparison::NotEqual: return VK_COMPARE_OP_NOT_EQUAL;
|
||||
case RendererComparison::GreaterOrEqual: return VK_COMPARE_OP_GREATER_OR_EQUAL;
|
||||
case RendererComparison::Always: return VK_COMPARE_OP_ALWAYS;
|
||||
}
|
||||
|
||||
NazaraErrorFmt("unhandled RendererComparison {0:#x})", UnderlyingCast(comparison));
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DescriptorPool.hpp>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Nz
|
||||
|
||||
inline bool DescriptorSetLayout::Create(Device& device, UInt32 bindingCount, const VkDescriptorSetLayoutBinding* binding, VkDescriptorSetLayoutCreateFlags flags, const VkAllocationCallbacks* allocator)
|
||||
{
|
||||
VkDescriptorSetLayoutCreateInfo createInfo =
|
||||
VkDescriptorSetLayoutCreateInfo createInfo =
|
||||
{
|
||||
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO, // VkStructureType sType;
|
||||
nullptr, // const void* pNext;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
VK_DEFINE_HANDLE(VmaAllocator)
|
||||
VK_DEFINE_HANDLE(VmaAllocation)
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
class VulkanDescriptorSetLayoutCache;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
#include <NazaraUtils/MovablePtr.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Nz::Vk
|
||||
{
|
||||
inline bool Instance::Create(RenderAPIValidationLevel validationLevel, const std::string& appName, UInt32 appVersion, const std::string& engineName, UInt32 engineVersion, UInt32 apiVersion, const std::vector<const char*>& layers, const std::vector<const char*>& extensions, const VkAllocationCallbacks* allocator)
|
||||
{
|
||||
VkApplicationInfo appInfo =
|
||||
VkApplicationInfo appInfo =
|
||||
{
|
||||
VK_STRUCTURE_TYPE_APPLICATION_INFO,
|
||||
nullptr,
|
||||
@@ -22,7 +22,7 @@ namespace Nz::Vk
|
||||
apiVersion
|
||||
};
|
||||
|
||||
VkInstanceCreateInfo instanceInfo =
|
||||
VkInstanceCreateInfo instanceInfo =
|
||||
{
|
||||
VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO,
|
||||
nullptr,
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <vulkan/vulkan_core.h>
|
||||
#include <string>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
#include <string_view>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <NazaraUtils/MovablePtr.hpp>
|
||||
#include <vulkan/vulkan_core.h>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <Nazara/VulkanRenderer/Wrapper/DeviceObject.hpp>
|
||||
|
||||
namespace Nz
|
||||
namespace Nz
|
||||
{
|
||||
namespace Vk
|
||||
{
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace Nz::Vk
|
||||
|
||||
inline bool Surface::Create(ANativeWindow* window, VkAndroidSurfaceCreateFlagsKHR flags, const VkAllocationCallbacks* allocator)
|
||||
{
|
||||
VkAndroidSurfaceCreateInfoKHR createInfo =
|
||||
VkAndroidSurfaceCreateInfoKHR createInfo =
|
||||
{
|
||||
VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR,
|
||||
nullptr,
|
||||
|
||||
Reference in New Issue
Block a user