diff options
author | Roland Scheidegger <[email protected]> | 2016-12-21 04:52:16 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2017-01-05 23:59:38 +0100 |
commit | db7e786a2552d808e512ba33fbc9b19d8bb37108 (patch) | |
tree | dee13e7ebefbe6e98096a3a58a33c738267be9ef /src/amd/vulkan/radv_cs.h | |
parent | a8eeb089c0e2e171ffaf8cba3cd0e5aea97b388f (diff) |
llvmpipe: (trivial) minimally simplify mask construction
simd instruction sets usually have comparisons for equal, not unequal.
So use a different comparison against the mask itself - which also means
we don't need a all-zero as well as a all-one (for the pxor) reg.
Also add code to avoid scalar expansion of i1 values which we definitely
shouldn't do. There's problems with this though with llvm select
interaction, so it's disabled (basically using llvm select instead of
intrinsics may still produce atrocious code, even in cases where we
figured it should not, albeit I think this could probably be fixed
with some better selection of optimization passes, but I have zero
idea there really).
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_cs.h')
0 files changed, 0 insertions, 0 deletions