nir: implement GLSL.std.450 NMax, NMIn and NClamp operations
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Thu, 8 Jun 2017 11:50:55 +0000 (11:50 +0000)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Tue, 27 Jun 2017 10:01:11 +0000 (12:01 +0200)
commit7ee409dd4ee57c53d0ca4ddfcd853460db0b2ac4
tree0608658b96a3bb17e6afc41bb615696c9bc3e887
parentb5ae17fe59b5f303f2aa42608474ad37ffdf3971
nir: implement GLSL.std.450 NMax, NMIn and NClamp operations

v2: NIR fmax/fmin already handles NaN (Connor).

Reviewed by: Elie Tournier <elie.tournier@collabora.com>
src/compiler/spirv/vtn_glsl450.c