GPFifo: Make s_gather_pipe size new constant GATHER_PIPE_EXTRA_SIZE

This commit is contained in:
Pokechu22 committed 2022-02-12 23:38:19 -08:00
1 parent 55f8aa9921
commit 1c74867c71
2 files changed
+2 -1

No files matched your search

+1 -1
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()
{
+1
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();