mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 21:31:49 +01: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() {
|
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")})
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user