summaryrefslogtreecommitdiff
path: root/src/common/algorithm.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-25 22:42:33 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-25 22:57:54 -0300
commit2a96bea6a7efd9efaaa8d1d72f1eb8ca27cb81f8 (patch)
tree6cd0335814b5dacb81ac60d1ffba9caa22164e67 /src/common/algorithm.h
parentc788f9c0bd9cb0b0cb66f7424a65032cca3731cc (diff)
shader/arithmetic_integer: Change IAdd to UAdd to avoid signed overflow
Signed integer addition overflow might be undefined behavior. It's free to change operations to UAdd and use unsigned integers to avoid potential bugs.
Diffstat (limited to 'src/common/algorithm.h')
0 files changed, 0 insertions, 0 deletions