mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +00:00
zfreeze: cache vertex positions
Suggested by degasus.
This commit is contained in:
parent
9e2f4dd7da
commit
5ddd2cef6c
9 changed files with 80 additions and 17 deletions
|
@ -28,5 +28,10 @@ namespace VertexLoaderManager
|
|||
// Resolved pointers to array bases. Used by vertex loaders.
|
||||
extern u8 *cached_arraybases[12];
|
||||
void UpdateVertexArrayPointers();
|
||||
|
||||
// Position cache for zfreeze (3 vertices, 4 floats each to allow SIMD overwrite).
|
||||
// These arrays are in reverse order.
|
||||
extern float position_cache[3][4];
|
||||
extern u32 position_matrix_index[3];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue