mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-19 19:15:26 +00:00
rsx: Fix arm64 build
This commit is contained in:
parent
b14b1389cb
commit
99a3ee2ef6
2 changed files with 9 additions and 1 deletions
|
@ -6,6 +6,14 @@
|
|||
#include "util/v128.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)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wold-style-cast"
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace vk
|
|||
{
|
||||
const auto size_bytes = count * sizeof(T);
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue