projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
227e250
)
nir/spirv/glsl450: Implement Exp built-in.
author
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 29 Dec 2015 05:04:30 +0000
(21:04 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 29 Dec 2015 23:27:03 +0000
(15:27 -0800)
src/glsl/nir/spirv/vtn_glsl450.c
patch
|
blob
|
history
diff --git
a/src/glsl/nir/spirv/vtn_glsl450.c
b/src/glsl/nir/spirv/vtn_glsl450.c
index f4550baaf93f49f33c7896f32c16c17285a8f466..33444eb8c76177f89eac161288b8336ef6009039 100644
(file)
--- 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: