mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-24 18:31:49 +01:00
a60d6ec58f
We utilized a `FenceCycle` to keep track of if the buffer was mutable or not and introduced another cycle to track GPU-side requirements only on fulfillment of which could the buffer be utilized on the host but due to the recent change in the behavior this system ended up being unoptimal. This commit replaces the cycle with a boolean tracking if there are any usages of the resource on the GPU within the current context that may prevent it from being mutated on the CPU. The fence of the context is simply attached to the buffer based off this which was allowed as the new behavior of buffer fences matches all the requirements for this. |
||
---|---|---|
.. | ||
skyline | ||
driver_jni.cpp | ||
emu_jni.cpp | ||
loader_jni.cpp |