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