From: Kenneth Graunke Date: Tue, 29 Dec 2015 05:04:30 +0000 (-0800) Subject: nir/spirv/glsl450: Implement Exp built-in. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ffc5ae7c9eb338c6af63c4b534bcb5aca1f67367;p=mesa.git nir/spirv/glsl450: Implement Exp built-in. --- diff --git a/src/glsl/nir/spirv/vtn_glsl450.c b/src/glsl/nir/spirv/vtn_glsl450.c index f4550baaf93..33444eb8c76 100644 --- a/src/glsl/nir/spirv/vtn_glsl450.c +++ b/src/glsl/nir/spirv/vtn_glsl450.c @@ -148,6 +148,9 @@ handle_glsl450_alu(struct vtn_builder *b, enum GLSLstd450 entrypoint, return; case GLSLstd450Exp: + val->ssa->def = build_exp(nb, src[0]); + return; + case GLSLstd450Log: case GLSLstd450FClamp: case GLSLstd450UClamp: