mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
GPFifo: Make s_gather_pipe size new constant GATHER_PIPE_EXTRA_SIZE
This commit is contained in:
@ -29,7 +29,7 @@ namespace GPFifo
|
|||||||
// the same function could use both methods. Compile 2 different versions of each such block?
|
// the same function could use both methods. Compile 2 different versions of each such block?
|
||||||
|
|
||||||
// More room for the fastmodes
|
// More room for the fastmodes
|
||||||
alignas(32) static u8 s_gather_pipe[GATHER_PIPE_SIZE * 16];
|
alignas(GATHER_PIPE_SIZE) static u8 s_gather_pipe[GATHER_PIPE_EXTRA_SIZE];
|
||||||
|
|
||||||
static size_t GetGatherPipeCount()
|
static size_t GetGatherPipeCount()
|
||||||
{
|
{
|
||||||
|
@ -10,6 +10,7 @@ class PointerWrap;
|
|||||||
namespace GPFifo
|
namespace GPFifo
|
||||||
{
|
{
|
||||||
constexpr u32 GATHER_PIPE_SIZE = 32;
|
constexpr u32 GATHER_PIPE_SIZE = 32;
|
||||||
|
constexpr u32 GATHER_PIPE_EXTRA_SIZE = GATHER_PIPE_SIZE * 16;
|
||||||
|
|
||||||
// Init
|
// Init
|
||||||
void Init();
|
void Init();
|
||||||
|
Reference in New Issue
Block a user