Add more fine-grained buffer recreation locking

This commit is contained in:
Billy Laws
2023-01-09 21:16:23 +00:00
parent 85a23e73ba
commit 2b282ece1a
8 changed files with 52 additions and 33 deletions

View File

@ -69,7 +69,7 @@ namespace skyline::gpu {
static bool BufferLessThan(const std::shared_ptr<Buffer> &it, u8 *pointer);
public:
std::mutex recreationMutex;
SpinLock recreationMutex;
BufferManager(GPU &gpu);