diff --git a/app/src/main/cpp/skyline/gpu/descriptor_allocator.cpp b/app/src/main/cpp/skyline/gpu/descriptor_allocator.cpp index 019a9346..6efaca98 100644 --- a/app/src/main/cpp/skyline/gpu/descriptor_allocator.cpp +++ b/app/src/main/cpp/skyline/gpu/descriptor_allocator.cpp @@ -106,6 +106,7 @@ namespace skyline::gpu { auto set{AllocateVkDescriptorSet(layout)}; if (set.result == vk::Result::eSuccess) { auto &slot{slots.emplace_back(set.value)}; + slot.active.test_and_set(std::memory_order_relaxed); return ActiveDescriptorSet{pool, &slot}; } else { lastResult = set.result;