nir: add support for min/max/median of 3 srcs
authorDave Airlie <airlied@redhat.com>
Wed, 28 Dec 2016 00:31:02 +0000 (00:31 +0000)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 28 Mar 2018 23:28:58 +0000 (01:28 +0200)
commit3e830a1af2dcd0a8e6c76ea04c50e814e550b244
treeff41ae1b4162a0ad6f77b474e30a0742fdc340ab
parent025105453a807a76754c6a714ef29df7068608e5
nir: add support for min/max/median of 3 srcs

These are needed for SPV_AMD_shader_trinary_minmax,
the AMD HW supports these.

Co-authored-by: Daniel Schürmann <daniel.schuermann@campus.tu-berlin.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/compiler/nir/nir_opcodes.py