From: Kenneth Graunke Date: Wed, 30 Dec 2015 00:06:19 +0000 (-0800) Subject: nir/spirv/glsl450: Enumerate more built-in opcodes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7cdcee3bed2c8a0305f24cfabe13ecb69b55e7ac;p=mesa.git nir/spirv/glsl450: Enumerate more built-in opcodes. --- diff --git a/src/glsl/nir/spirv/vtn_glsl450.c b/src/glsl/nir/spirv/vtn_glsl450.c index d0e98577884..820aed7f66a 100644 --- a/src/glsl/nir/spirv/vtn_glsl450.c +++ b/src/glsl/nir/spirv/vtn_glsl450.c @@ -88,6 +88,7 @@ handle_glsl450_alu(struct vtn_builder *b, enum GLSLstd450 entrypoint, case GLSLstd450Trunc: op = nir_op_ftrunc; break; case GLSLstd450FAbs: op = nir_op_fabs; break; case GLSLstd450FSign: op = nir_op_fsign; break; + case GLSLstd450SSign: op = nir_op_isign; break; case GLSLstd450Floor: op = nir_op_ffloor; break; case GLSLstd450Ceil: op = nir_op_fceil; break; case GLSLstd450Fract: op = nir_op_ffract; break; @@ -272,7 +273,15 @@ handle_glsl450_alu(struct vtn_builder *b, enum GLSLstd450 entrypoint, case GLSLstd450Acos: case GLSLstd450Atan: case GLSLstd450Atan2: + case GLSLstd450ModfStruct: + case GLSLstd450NMin: + case GLSLstd450NMax: + case GLSLstd450NClamp: case GLSLstd450Frexp: + case GLSLstd450FrexpStruct: + case GLSLstd450FindILsb: + case GLSLstd450FindSMsb: + case GLSLstd450FindUMsb: case GLSLstd450PackDouble2x32: case GLSLstd450UnpackDouble2x32: case GLSLstd450IMix: