summaryrefslogtreecommitdiff
path: root/src/video_core/gpu_thread.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-05-19 02:27:00 -0400
committerGravatar Lioncash2019-05-19 02:46:38 -0400
commitf417be9d3be297f5f4ccdf5d31b80394cfdb6c69 (patch)
tree5c92eeb08f7c1643b9b3474cd88761c06b4cfe01 /src/video_core/gpu_thread.cpp
parentMerge pull request #2457 from lioncash/about (diff)
downloadyuzu-f417be9d3be297f5f4ccdf5d31b80394cfdb6c69.tar.gz
yuzu-f417be9d3be297f5f4ccdf5d31b80394cfdb6c69.tar.xz
yuzu-f417be9d3be297f5f4ccdf5d31b80394cfdb6c69.zip
gl_shader_disk_cache: Special-case boolean handling
Booleans don't have a guaranteed size, but we still want to have them integrate into the disk cache system without needing to actually use a different type. We can do this by supplying non-template overloads for the bool type. Non-template overloads always have precedence during function resolution, so this is safe to provide. This gets rid of the need to smatter ternary conditionals, as well as the need to use u8 types to store the value in.
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
0 files changed, 0 insertions, 0 deletions