Common: DynamicHeapArray/FixedHeapArray

This commit is contained in:
Stenzek
2023-08-19 13:52:51 +10:00
parent 7b4cbe3007
commit a00a4391ca
7 changed files with 264 additions and 13 deletions

View File

@ -85,7 +85,7 @@ protected:
THRESHOLD_TO_WAKE_GPU = 256
};
HeapArray<u8, COMMAND_QUEUE_SIZE> m_command_fifo_data;
FixedHeapArray<u8, COMMAND_QUEUE_SIZE> m_command_fifo_data;
alignas(64) std::atomic<u32> m_command_fifo_read_ptr{0};
alignas(64) std::atomic<u32> m_command_fifo_write_ptr{0};
};