tgsi: simplify and fix sse KIL implementation
authorKeith Whitwell <keithw@vmware.com>
Thu, 16 Jul 2009 11:49:27 +0000 (12:49 +0100)
committerKeith Whitwell <keithw@vmware.com>
Thu, 16 Jul 2009 11:49:27 +0000 (12:49 +0100)
commitcaf5d52d48aaed63f916ecd050c959eca401a75a
tree68b15ecae22b1e2ee04ef8c66cd3e807122405ae
parente1ad38ad8e0243878ad1cf25f579a0a57e80a3ad
tgsi: simplify and fix sse KIL implementation

Use sse_movmskps to extract the correct bits of the comparison result
for use in updating the killmask.  Simplify some logic around
identifying the set of necessary comparisons to make.
src/gallium/auxiliary/tgsi/tgsi_sse2.c