Up default record slot count to 6

This commit is contained in:
Billy Laws 2022-09-29 20:42:01 +01:00
parent 7d3a117a6f
commit 6dfef095e8
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ namespace skyline::gpu::interconnect {
void CommandRecordThread::Run() { void CommandRecordThread::Run() {
auto &gpu{*state.gpu}; 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; }); outgoing.AppendTranform(span<Slot>(slots), [](auto &slot) { return &slot; });
if (int result{pthread_setname_np(pthread_self(), "Sky-CmdRecord")}) if (int result{pthread_setname_np(pthread_self(), "Sky-CmdRecord")})

View File

@ -39,7 +39,7 @@ namespace skyline::gpu::interconnect {
const DeviceState &state; const DeviceState &state;
std::thread thread; 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 *> incoming{ActiveRecordSlots}; //!< Slots pending recording
CircularQueue<Slot *> outgoing{ActiveRecordSlots}; //!< Slots that have been submitted, may still be active on the GPU CircularQueue<Slot *> outgoing{ActiveRecordSlots}; //!< Slots that have been submitted, may still be active on the GPU