diff options
author | Jason Ekstrand <[email protected]> | 2017-03-01 15:20:31 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-03-03 13:59:27 -0800 |
commit | bc456749bda67369bccb6e4529c981d84507fa65 (patch) | |
tree | 8134293b5307a656a15b5324e547fcface405115 /configure.ac | |
parent | 9745bef3088694b13f040222a813a1c2ac9677f9 (diff) |
nir/int64: Properly handle imod/irem
The previous implementation was fine for GLSL which doesn't really have
a signed modulus/remainder. They just leave the behavior undefined
whenever either source is negative. However, in SPIR-V, there is a
defined behavior for negative arguments. This commit beefs up the pass
so that it handles both correctly. Tested using a hacked up version of
the Vulkan CTS test to get 64-bit support.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions