mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Clean up cached_arraybases. Update VideoSW to new scheme.
Move ownership of cached_arraybases from CPMemory to VertexLoaderManager to better match it usage.
This commit is contained in:
parent
6d916762fb
commit
f57517f1a0
13 changed files with 48 additions and 35 deletions
|
@ -3,6 +3,7 @@
|
|||
// Refer to the license.txt file included.
|
||||
|
||||
#include "VideoCommon/VertexLoaderARM64.h"
|
||||
#include "VideoCommon/VertexLoaderManager.h"
|
||||
|
||||
using namespace Arm64Gen;
|
||||
|
||||
|
@ -331,7 +332,7 @@ void VertexLoaderARM64::GenerateVertexLoader()
|
|||
MOV(saved_count, count_reg);
|
||||
|
||||
MOVI2R(stride_reg, (u64)&g_main_cp_state.array_strides);
|
||||
MOVI2R(arraybase_reg, (u64)&cached_arraybases);
|
||||
MOVI2R(arraybase_reg, (u64)&VertexLoaderManager::cached_arraybases);
|
||||
MOVI2R(scale_reg, (u64)&scale_factors);
|
||||
|
||||
const u8* loop_start = GetCodePtr();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue