ac/nir: fix translation of nir_op_fsign for doubles
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 11 Jan 2018 11:10:47 +0000 (22:10 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 11 Jan 2018 22:29:18 +0000 (09:29 +1100)
commit30c1a93f6de66f0b9f86e11b517b62f57f330d95
treee915762be965958396bde321804700023cc237ac
parentd7b6b8ba52894488b3234bc5fb09c0caebcc202b
ac/nir: fix translation of nir_op_fsign for doubles

Without this we end up with the llvm error message:

"Both operands to a binary operator are not of the same type!"

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_nir_to_llvm.c