nir/spirv/glsl450: Implement Exp built-in.

This commit is contained in:
Kenneth Graunke 2015-12-28 21:04:30 -08:00
parent 227e250005
commit ffc5ae7c9e
1 changed files with 3 additions and 0 deletions

View File

@ -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: