summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-04-11 20:26:37 -0400
committerGravatar Lioncash2019-04-11 20:36:19 -0400
commit9cb4b7be40dd93d4982d78a5f420326fd9c628a8 (patch)
tree31a11148138dece030895b70a0e5304d27401129 /src/video_core/gpu_thread.cpp
parentcommon/swap: Remove 32-bit ARM path (diff)
downloadyuzu-9cb4b7be40dd93d4982d78a5f420326fd9c628a8.tar.gz
yuzu-9cb4b7be40dd93d4982d78a5f420326fd9c628a8.tar.xz
yuzu-9cb4b7be40dd93d4982d78a5f420326fd9c628a8.zip
common/swap: Simplify swap function ifdefs
Including every OS' own built-in byte swapping functions is kind of undesirable, since it adds yet another build path to ensure compilation succeeds on. Given we only support clang, GCC, and MSVC for the time being, we can utilize their built-in functions directly instead of going through the OS's API functions. This shrinks the overall code down to just if (msvc) use msvc's functions else if (clang or gcc) use clang/gcc's builtins else use the slow path
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
0 files changed, 0 insertions, 0 deletions