summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorGravatar ameerj2023-02-10 20:43:06 -0500
committerGravatar ameerj2023-02-10 20:43:06 -0500
commit5e746da9817f9fee8f0d182c6fcc766ccf816017 (patch)
treec93cc336051b18df0bf194ce7d787ddfda437e0f /src/video_core/gpu_thread.cpp
parentMerge pull request #9749 from ameerj/pr9559-partial-revert (diff)
downloadyuzu-5e746da9817f9fee8f0d182c6fcc766ccf816017.tar.gz
yuzu-5e746da9817f9fee8f0d182c6fcc766ccf816017.tar.xz
yuzu-5e746da9817f9fee8f0d182c6fcc766ccf816017.zip
kernel: Refactor thread_local variable usage
On MSVC at least, there seems to be a non-trivial overhead to calling GetHostThreadId(). This slightly reworks the host_thread_id variable to reduce some of the complexity around its usage, along with some small refactors around current_thread and dummy thread
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
0 files changed, 0 insertions, 0 deletions