freedreno/ir3: Fold const only when the type is float
authorHyunjun Ko <zzoon@igalia.com>
Thu, 7 Nov 2019 05:32:34 +0000 (05:32 +0000)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 7 Feb 2020 17:53:48 +0000 (09:53 -0800)
commit7bddaa61362924ec9dc360a2846cbdc8c647d834
tree788d1a328f1f2fb6d5c2f7cdb5b5c27e27a5bf43
parent260bd32b58a55ac0d9870497caef3a4602e19d47
freedreno/ir3: Fold const only when the type is float

Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3737>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3737>
src/freedreno/ir3/ir3_cp.c