mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Move align helpers to util/asm.hpp
Also add some files: GLTextureCache.cpp VKTextureCache.cpp
This commit is contained in:
parent
d254a5736b
commit
eec11bfba9
52 changed files with 794 additions and 713 deletions
|
|
@ -288,7 +288,7 @@ spu_function_t spu_recompiler::compile(spu_program&& _func)
|
|||
words_align = 64;
|
||||
|
||||
const u32 starta = start & -64;
|
||||
const u32 enda = ::align(end, 64);
|
||||
const u32 enda = utils::align(end, 64);
|
||||
const u32 sizea = (enda - starta) / 64;
|
||||
ensure(sizea);
|
||||
|
||||
|
|
@ -369,7 +369,7 @@ spu_function_t spu_recompiler::compile(spu_program&& _func)
|
|||
words_align = 32;
|
||||
|
||||
const u32 starta = start & -32;
|
||||
const u32 enda = ::align(end, 32);
|
||||
const u32 enda = utils::align(end, 32);
|
||||
const u32 sizea = (enda - starta) / 32;
|
||||
ensure(sizea);
|
||||
|
||||
|
|
@ -491,7 +491,7 @@ spu_function_t spu_recompiler::compile(spu_program&& _func)
|
|||
words_align = 32;
|
||||
|
||||
const u32 starta = start & -32;
|
||||
const u32 enda = ::align(end, 32);
|
||||
const u32 enda = utils::align(end, 32);
|
||||
const u32 sizea = (enda - starta) / 32;
|
||||
ensure(sizea);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue