swr/rast: Fix x86 lowering 64-bit float handling
authorGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 13 Apr 2018 21:21:24 +0000 (16:21 -0500)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 27 Apr 2018 19:36:41 +0000 (14:36 -0500)
commit7b343a215ecfcc7f13a4558ae07b15a67dc99045
tree90cf3a3d5bfdee8aae8cf6348b7718def42c1f89
parentfa4ab7910e3492b09b40e00c0b82a7bb1bae03d0
swr/rast: Fix x86 lowering 64-bit float handling

- 64-bit cvt-to-float needs to be explicitly handled
- gathers need the right parameter types to work with doubles

Fixes draw-vertices piglit tests

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/builder_misc.h
src/gallium/drivers/swr/rasterizer/jitter/functionpasses/lower_x86.cpp