diff options
| author | 2023-02-10 20:43:06 -0500 | |
|---|---|---|
| committer | 2023-02-10 20:43:06 -0500 | |
| commit | 5e746da9817f9fee8f0d182c6fcc766ccf816017 (patch) | |
| tree | c93cc336051b18df0bf194ce7d787ddfda437e0f /src/shader_recompiler/backend/glsl/glsl_emit_context.cpp | |
| parent | Merge pull request #9749 from ameerj/pr9559-partial-revert (diff) | |
| download | yuzu-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/shader_recompiler/backend/glsl/glsl_emit_context.cpp')
0 files changed, 0 insertions, 0 deletions