aco: fix fp16 *0.5 omod
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 13 Nov 2020 15:12:21 +0000 (15:12 +0000)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Nov 2020 12:58:44 +0000 (12:58 +0000)
commit0c522d3aa7432b72c2ed773218d6f0eb25f58943
tree9753487ff15422ff365acfbecee4dc3c2ec7db22
parent558daa73f9adb1275ddcf00515c7f79f726b7ae1
aco: fix fp16 *0.5 omod

We were testing for -0.5 instead.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Fixes: 1210e0bd620 ("aco: create 16-bit input and output modifiers")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7605>
src/amd/compiler/aco_optimizer.cpp