ac/nir: add back nir_op_fmod
authorMarek Olšák <marek.olsak@amd.com>
Tue, 8 Oct 2019 04:08:19 +0000 (00:08 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 10 Oct 2019 19:57:50 +0000 (15:57 -0400)
commitb7fc082b2876864ac3088aa9d25930fe8b81c372
treea6d6cb96cb3bccf805653101c83585cbe5826121
parent09e0e4c93c3fe03d6ab664813f64378095c72454
ac/nir: add back nir_op_fmod

radeonsi doesn't lower it for doubles.

This partially reverts commit d861401554b52b2c2fc6721c69bdfe1697ee608f.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/amd/llvm/ac_nir_to_llvm.c