From: Jason Ekstrand Date: Wed, 30 Dec 2015 22:41:13 +0000 (-0800) Subject: nir/spirv/GLSL450: Add support for SAbs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07b4f17aaffdf59d9e2e6e8e7c45be09c17ea417;p=mesa.git nir/spirv/GLSL450: Add support for SAbs --- diff --git a/src/glsl/nir/spirv/vtn_glsl450.c b/src/glsl/nir/spirv/vtn_glsl450.c index 8905bdfbdde..2d22e37de2a 100644 --- a/src/glsl/nir/spirv/vtn_glsl450.c +++ b/src/glsl/nir/spirv/vtn_glsl450.c @@ -87,6 +87,7 @@ handle_glsl450_alu(struct vtn_builder *b, enum GLSLstd450 entrypoint, case GLSLstd450RoundEven: op = nir_op_fround_even; break; case GLSLstd450Trunc: op = nir_op_ftrunc; break; case GLSLstd450FAbs: op = nir_op_fabs; break; + case GLSLstd450SAbs: op = nir_op_iabs; break; case GLSLstd450FSign: op = nir_op_fsign; break; case GLSLstd450SSign: op = nir_op_isign; break; case GLSLstd450Floor: op = nir_op_ffloor; break;