diff options
author | Jason Ekstrand <[email protected]> | 2017-09-06 20:32:30 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-11-07 10:37:52 -0800 |
commit | 1f416630079f38110910ba796f70e2b81e9ddbf4 (patch) | |
tree | c6750559fe25bf1196e56114786f3305e6f3db96 /Android.mk | |
parent | 6c00240bc650805e0b66aa6e17dbe69bbe41e446 (diff) |
intel/fs: Use an explicit D type for vote any/all/eq intrinsics
The any/all intrinsics return a boolean value so D or UD is the correct
type. Unfortunately, get_nir_dest has the annoying behavior of
returnning a float type by default. This causes format conversion which
gives us -1.0f or 0.0f in the register. If the consumer of the result
does an integer comparison to zero, it will give you the right boolean
value but if we do something more clever based on the 0/~0 assumption
for booleans, this will give the wrong value.
Reviewed-by: Iago Toral Quiroga <[email protected]>
Cc: [email protected]
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions