Revert "ac: reassociate FP expressions for inexact instructions for radeonsi"
authorMarek Olšák <marek.olsak@amd.com>
Thu, 30 Apr 2020 07:57:50 +0000 (03:57 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 4 May 2020 15:51:37 +0000 (11:51 -0400)
commitb97cc41aa203fd9fb9f5cf5f5aa7fd40f567917d
treeabf973d6df07d20119e8964b97cc5d9f2b9d35d0
parent5f01869f74a497ee56fd01eedbe0b2802beea63c
Revert "ac: reassociate FP expressions for inexact instructions for radeonsi"

This reverts commit cf2f3c27533d8721abed4cdd4dfb00d4d53e8a0f.

It breaks shadows in Unigine Superposition.

Fixes: cf2f3c27533d8721abed4cdd4dfb00d4d53e8a0f
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4837>
src/amd/llvm/ac_llvm_helper.cpp