ac/nir: fix translation of nir_op_frsq for doubles
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 11 Jan 2018 06:04:22 +0000 (17:04 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 11 Jan 2018 22:29:17 +0000 (09:29 +1100)
commit24575c815c3a8bf3457b54077b93baa5fd73c7f2
tree2c3981427ad149c20de1c9bd5cbbafdb7dfba1cb
parentc0eb304acd7a803e3161bb9cf76cfa03bfc29050
ac/nir: fix translation of nir_op_frsq 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