i965/compiler: handle conversion to smaller type in the lowering pass for that
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 6 Mar 2018 11:14:05 +0000 (12:14 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 3 May 2018 09:40:25 +0000 (11:40 +0200)
commit96b51537908cd2aace85f54b437eeb72e6346b7e
tree75ca6422d59ee05e39e6d41c1b76d12d104493af
parent5361a87ee73848d9f7fab0b715563b3d9de7f3df
i965/compiler: handle conversion to smaller type in the lowering pass for that

The lowering pass was specialized to act on 64-bit to 32-bit conversions only,
but the implementation is valid for other cases.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_fs_lower_conversions.cpp
src/intel/compiler/brw_fs_nir.cpp