intel/compiler: fix lower conversions to account for predication
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 17 Jul 2018 09:10:34 +0000 (11:10 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 27 Jul 2018 12:48:29 +0000 (14:48 +0200)
commit615aaedb934bb573bf1486de0f4d3b5742da9065
tree831025b4cc1d94f99849ecdcaaa3a7de7ebc7bda
parentdf679b1643cdf7cb9110a7898cec7617f8154d2d
intel/compiler: fix lower conversions to account for predication

The pass can create a temporary result for the instruction and then
moves from it to the original destination, however, if the original
instruction was predicated, the mov has to be predicated as well.

Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
src/intel/compiler/brw_fs_lower_conversions.cpp