mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 20:14:45 +00:00
Use _MB macro for size constant
This commit is contained in:
parent
bd1b67492a
commit
ae6a8004fa
1 changed files with 3 additions and 3 deletions
|
@ -1092,9 +1092,9 @@ public:
|
|||
GpuQueue& gfx_queue = mapped_queues[GfxQueueId];
|
||||
std::scoped_lock<std::mutex> lk(gfx_queue.m_access);
|
||||
|
||||
constexpr size_t gfx_reserved_size = (2 << 21) / sizeof(u32); // 2MB
|
||||
gfx_queue.ccb_buffer.reserve(gfx_reserved_size);
|
||||
gfx_queue.dcb_buffer.reserve(gfx_reserved_size);
|
||||
constexpr size_t GfxReservedSize = 2_MB >> 2;
|
||||
gfx_queue.ccb_buffer.reserve(GfxReservedSize);
|
||||
gfx_queue.dcb_buffer.reserve(GfxReservedSize);
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Reference in a new issue