mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-29 15:25:28 +03:00
Up default record slot count to 6
This commit is contained in:
parent
7d3a117a6f
commit
6dfef095e8
@ -76,7 +76,7 @@ namespace skyline::gpu::interconnect {
|
||||
|
||||
void CommandRecordThread::Run() {
|
||||
auto &gpu{*state.gpu};
|
||||
std::array<Slot, ActiveRecordSlots> slots{{gpu, gpu, gpu, gpu}};
|
||||
std::array<Slot, ActiveRecordSlots> slots{{gpu, gpu, gpu, gpu, gpu, gpu}};
|
||||
outgoing.AppendTranform(span<Slot>(slots), [](auto &slot) { return &slot; });
|
||||
|
||||
if (int result{pthread_setname_np(pthread_self(), "Sky-CmdRecord")})
|
||||
|
@ -39,7 +39,7 @@ namespace skyline::gpu::interconnect {
|
||||
const DeviceState &state;
|
||||
std::thread thread;
|
||||
|
||||
static constexpr size_t ActiveRecordSlots{4}; //!< Maximum number of simultaneously active slots
|
||||
static constexpr size_t ActiveRecordSlots{6}; //!< Maximum number of simultaneously active slots
|
||||
CircularQueue<Slot *> incoming{ActiveRecordSlots}; //!< Slots pending recording
|
||||
CircularQueue<Slot *> outgoing{ActiveRecordSlots}; //!< Slots that have been submitted, may still be active on the GPU
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user