projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffc5ae7
)
nir/spirv/glsl450: Implement the Log built-in.
author
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 29 Dec 2015 05:21:51 +0000
(21:21 -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 33444eb8c76177f89eac161288b8336ef6009039..ecd24c4a3d95b03e2bea40c4cba31acf7e0db6d0 100644
(file)
--- 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: