From 07b4f17aaffdf59d9e2e6e8e7c45be09c17ea417 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 30 Dec 2015 14:41:13 -0800 Subject: [PATCH] nir/spirv/GLSL450: Add support for SAbs --- src/glsl/nir/spirv/vtn_glsl450.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2