st/glsl_to_tgsi: don't optimize mul+add to mad if expression is precise
authorKarol Herbst <karolherbst@gmail.com>
Fri, 23 Jun 2017 18:30:26 +0000 (20:30 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sat, 22 Jul 2017 03:45:18 +0000 (23:45 -0400)
commit4ad9e2e17a8019b383d3664ca39ae3227aa3776d
tree8b3ed686eeaf90db3807e4790b50880db4573ef2
parentc5cbb9a54345319d3924f9c7d0572fcc4739c516
st/glsl_to_tgsi: don't optimize mul+add to mad if expression is precise

Signed-off-by: Karol Herbst <karolherbst@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp