summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/barrier.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2016-11-12 22:46:58 +0100
committerRoland Scheidegger <[email protected]>2016-11-18 01:25:21 +0100
commit5ec3a7333fd77698610755d51e42094376e11d01 (patch)
tree6ba951e3cea248704ecb2ca252f28b3c11cea59b /src/mesa/main/barrier.c
parentb16f06fd0593099aad74775a41cf74d4c09c3f6a (diff)
draw: finally optimize bool clip mask generation
lp_build_any_true_range is just what we need, though it will only produce optimal code with sse41 (ptest + set) - but even without it on 64bit x86 the code is still better (1 unpack, 2 movq + or + set), on 32bit x86 it's going to be roughly the same as before. While here also make it a "real" 8bit boolean - cuts one instruction but more importantly similar to ordinary booleans. Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/barrier.c')
0 files changed, 0 insertions, 0 deletions