summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-02-13 05:13:29 -0300
committerGravatar ReinUsesLisp2021-02-13 05:14:11 -0300
commit6171566296154963933fb8553c15b5316b5dda2f (patch)
tree1701d8363c0da07c7eda13929328e5a08e7f82cb /src/video_core/gpu_thread.cpp
parentgl_stream_buffer/vk_staging_buffer_pool: Fix size check (diff)
downloadyuzu-6171566296154963933fb8553c15b5316b5dda2f.tar.gz
yuzu-6171566296154963933fb8553c15b5316b5dda2f.tar.xz
yuzu-6171566296154963933fb8553c15b5316b5dda2f.zip
vk_staging_buffer_pool: Inline tick tests
Load the current tick to a local variable, moving it out of an atomic and allowing us to compare the value without going through a pointer each time. This should make the loop more optimizable.
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
0 files changed, 0 insertions, 0 deletions