nir: Don't optimize to 64 bit fsub if the driver doesn't support it
authorGert Wollny <gert.wollny@collabora.com>
Sun, 24 Apr 2022 12:25:01 +0000 (14:25 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 27 Apr 2022 00:01:20 +0000 (00:01 +0000)
commit47d3f7c69f52432566653834cde0f4fcbef408dd
tree5c1391e184b8b20728c7c740831d698845ea9e2a
parent1598d18a8868b6f506811661a20fa65307349771
nir: Don't optimize to 64 bit fsub if the driver doesn't support it

Fixes: a4840e15ab77b44a72cabd7d503172e8357477eb
  r600: Use nir-to-tgsi instead of TGSI when the NIR debug opt is disabled.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16130>
src/compiler/nir/nir_opt_algebraic.py