rsx: Fix arm64 build
This commit is contained in:
@@ -6,6 +6,14 @@
|
|||||||
#include "util/v128.hpp"
|
#include "util/v128.hpp"
|
||||||
#include "util/simd.hpp"
|
#include "util/simd.hpp"
|
||||||
|
|
||||||
|
#if defined(ARCH_ARM64)
|
||||||
|
#if !defined(_MSC_VER)
|
||||||
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||||
|
#endif
|
||||||
|
#undef FORCE_INLINE
|
||||||
|
#include "Emu/CPU/sse2neon.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(_MSC_VER)
|
#if !defined(_MSC_VER)
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wold-style-cast"
|
#pragma GCC diagnostic ignored "-Wold-style-cast"
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ namespace vk
|
|||||||
{
|
{
|
||||||
const auto size_bytes = count * sizeof(T);
|
const auto size_bytes = count * sizeof(T);
|
||||||
const auto addr = alloc<Alignment>(size_bytes);
|
const auto addr = alloc<Alignment>(size_bytes);
|
||||||
return { addr, reinterpret_cast<T*>( map(addr, size_bytes)) };
|
return { addr, reinterpret_cast<T*>(map(addr, size_bytes)) };
|
||||||
}
|
}
|
||||||
|
|
||||||
void sync(const vk::command_buffer& cmd);
|
void sync(const vk::command_buffer& cmd);
|
||||||
|
|||||||
Reference in New Issue
Block a user