aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/kernel_executable.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-19 02:27:00 -0400
committerLioncash <mathew1800@gmail.com>2019-05-19 02:46:38 -0400
commit1cc28a176d7220c688d5ab022f0bdf232ecf4844 (patch)
tree5c92eeb08f7c1643b9b3474cd88761c06b4cfe01 /src/core/file_sys/kernel_executable.cpp
parent79611cecf79e9c8f06d2bbf968c40db0f2c41197 (diff)
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/core/file_sys/kernel_executable.cpp')
0 files changed, 0 insertions, 0 deletions