msvc build fixes
This commit is contained in:
parent
aac665e617
commit
4161ca9b07
|
@ -9,7 +9,7 @@
|
|||
#include <unistd.h>
|
||||
#include <sys/ioctl.h>
|
||||
#else
|
||||
#include <windows.h>
|
||||
#include <io.h>
|
||||
#endif
|
||||
#include "types.h"
|
||||
#include "hw/sh4/sh4_mmr.h"
|
||||
|
|
|
@ -23,10 +23,7 @@
|
|||
#include "vmallocator.h"
|
||||
#include "vulkan_context.h"
|
||||
|
||||
#if HOST_CPU == CPU_ARM
|
||||
__attribute__((pcs("aapcs-vfp")))
|
||||
#endif
|
||||
static void vmaAllocateDeviceMemoryCallback(
|
||||
VKAPI_ATTR static void VKAPI_CALL vmaAllocateDeviceMemoryCallback(
|
||||
VmaAllocator allocator,
|
||||
uint32_t memoryType,
|
||||
VkDeviceMemory memory,
|
||||
|
@ -35,10 +32,7 @@ static void vmaAllocateDeviceMemoryCallback(
|
|||
DEBUG_LOG(RENDERER, "VMAAllocator: %llu bytes allocated (type %d)", (unsigned long long)size, memoryType);
|
||||
}
|
||||
|
||||
#if HOST_CPU == CPU_ARM
|
||||
__attribute__((pcs("aapcs-vfp")))
|
||||
#endif
|
||||
static void vmaFreeDeviceMemoryCallback(
|
||||
VKAPI_ATTR static void VKAPI_CALL vmaFreeDeviceMemoryCallback(
|
||||
VmaAllocator allocator,
|
||||
uint32_t memoryType,
|
||||
VkDeviceMemory memory,
|
||||
|
|
|
@ -35,11 +35,8 @@ VulkanContext *VulkanContext::contextInstance;
|
|||
|
||||
static const char *PipelineCacheFileName = DATA_PATH "vulkan_pipeline.cache";
|
||||
|
||||
#if HOST_CPU == CPU_ARM
|
||||
__attribute__((pcs("aapcs-vfp")))
|
||||
#endif
|
||||
#ifndef __ANDROID__
|
||||
static VkBool32 debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageTypes,
|
||||
VKAPI_ATTR static VkBool32 VKAPI_CALL debugUtilsMessengerCallback(VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageTypes,
|
||||
VkDebugUtilsMessengerCallbackDataEXT const * pCallbackData, void * /*pUserData*/)
|
||||
{
|
||||
std::string msg = vk::to_string(static_cast<vk::DebugUtilsMessageSeverityFlagBitsEXT>(messageSeverity)) + ": "
|
||||
|
|
Loading…
Reference in New Issue