https://bugs.freedesktop.org/show_bug.cgi?id=97338
--- Comment #8 from Aaron Paden aaronbpaden@gmail.com --- (In reply to Samuel Pitoiset from comment #6)
A possible fix here: https://lists.freedesktop.org/archives/mesa-dev/2017-January/139686.html
I get a build failure after applying this patch:
si_shader_tgsi_alu.c: In function ‘emit_rsq’: si_shader_tgsi_alu.c:759:43: error: ‘TGSI_OPCODE_ABS’ undeclared (first use in this function) abs = lp_build_emit_llvm_unary(bld_base, TGSI_OPCODE_ABS, ^~~~~~~~~~~~~~~ si_shader_tgsi_alu.c:759:43: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [Makefile:701: si_shader_tgsi_alu.lo] Error 1