swr/rast: Convert C Sampler intrinsics
authorGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 9 Feb 2018 17:37:17 +0000 (11:37 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 16 Feb 2018 16:54:01 +0000 (10:54 -0600)
commitc09483cf0a21a68c00a8daf080a2e7de17ac3039
tree72bd33d04be0612d4e4720e054396182e1827234
parent37ebf86add77ebd5a3640904a09fe990b7a4e5c7
swr/rast: Convert C Sampler intrinsics

Convert portions of the C sampler to the rasty SIMD lib.

Also fix SRL call with a non-immediate.  Don't count on the compiler
automagically converting an srli call to srl if the shift count isn't
an immediate.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/common/intrin.h
src/gallium/drivers/swr/rasterizer/common/simdlib_128_avx.inl