GPFifo: Make s_gather_pipe size new constant GATHER_PIPE_EXTRA_SIZE

This commit is contained in:
Pokechu22 2022-02-12 16:31:04 -08:00
parent 55f8aa9921
commit 1c74867c71
2 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,7 @@ namespace GPFifo
// the same function could use both methods. Compile 2 different versions of each such block?
// 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()
{

View File

@ -10,6 +10,7 @@ class PointerWrap;
namespace GPFifo
{
constexpr u32 GATHER_PIPE_SIZE = 32;
constexpr u32 GATHER_PIPE_EXTRA_SIZE = GATHER_PIPE_SIZE * 16;
// Init
void Init();