i965/blorp: Stop doing f2i(i2f(sample_id))
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 13 May 2016 07:36:25 +0000 (00:36 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 14 May 2016 20:34:53 +0000 (13:34 -0700)
commitc18da26abf9f2a4c1c906ada2cef4cc6d199f5d9
tree2cf643ca787b02e709019e0c6fc31df514aed077
parente503da61c6f0f7ba7f9500145ec44465cb3f87b7
i965/blorp: Stop doing f2i(i2f(sample_id))

NIR gets kind of awkward when you have a 3-component vector with two floats
and one int.  This led to us accidentally going through float for the
sample index.  It doesn't hurt anything but it also isn't needed.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp