aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu_cmd/config.cpp
diff options
context:
space:
mode:
authorGPUCode <geoster3d@gmail.com>2023-04-08 21:53:13 +0300
committerGPUCode <geoster3d@gmail.com>2023-05-01 23:13:24 +0300
commit373cfc636c09328625d2ae7dbfb7d4e920b43d08 (patch)
treebf385acd61178b4f07dd220077c8a3ef528a9203 /src/yuzu_cmd/config.cpp
parent8eede48a398ee56f5601eebe7dc5c19221d13b8a (diff)
renderer_vulkan: Fix crashing when updating descriptors
* During pipeline configure the function would acquire some payload space from the descriptor update queue, write the descriptor data on the GPU thread and give the scheduler a pointer to the beginning of said space to update it later. TickFrame resets the payload cursor, used to track acquires, back to the beginning of the buffer. This wasn't a problem before since WaitWorker was called at the end of the frame but now it is. If a frame writes to a cursor before the scheduler catches up, it will crash * To fix this the payload buffer has been increased to account for the in flight frames that are allowed to exist now. TickFrame will switch between the payload spaces instead of resetting
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
0 files changed, 0 insertions, 0 deletions