mirror of
https://github.com/skyline-emu/skyline.git
synced 2025-01-11 05:59:10 +01:00
Mark freshly allocated descriptor slots as active
This commit is contained in:
parent
f3184cdff1
commit
eb4a9bab11
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user