From ffc5ae7c9eb338c6af63c4b534bcb5aca1f67367 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 28 Dec 2015 21:04:30 -0800 Subject: [PATCH] nir/spirv/glsl450: Implement Exp built-in. --- src/glsl/nir/spirv/vtn_glsl450.c | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.30.2