nir: add new mediump opcodes f2[ui]mp, i2fmp, u2fmp
authorMarek Olšák <marek.olsak@amd.com>
Fri, 4 Sep 2020 03:47:32 +0000 (23:47 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 10 Sep 2020 23:35:13 +0000 (23:35 +0000)
commitcdd498bbe8884a316c58458f6298d0239ce6c556
treec947e24c27d297f87f03788c4dd1b6e4555448aa
parent385b4dbc394b0c0a15be41f7a443e23e7acb7339
nir: add new mediump opcodes f2[ui]mp, i2fmp, u2fmp

Algebraic optimizations will select them.

Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6283>
src/amd/llvm/ac_nir_to_llvm.c
src/compiler/nir/nir_opcodes.py
src/compiler/nir/nir_opt_algebraic.py