projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eaf33a
)
glsl: Silence unused value warning.
author
Vinson Lee
<vlee@vmware.com>
Wed, 17 Feb 2010 10:10:49 +0000
(
02:10
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 17 Feb 2010 10:10:49 +0000
(
02:10
-0800)
src/mesa/shader/slang/slang_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_emit.c
b/src/mesa/shader/slang/slang_emit.c
index c9ecbd275b8bf6d9da8a37747c2dec4185952d90..0f670360ee80489f180ef676556856602cadbf6a 100644
(file)
--- a/
src/mesa/shader/slang/slang_emit.c
+++ b/
src/mesa/shader/slang/slang_emit.c
@@
-1122,6
+1122,8
@@
emit_clamp(slang_emit_info *emitInfo, slang_ir_node *n)
return inst;
}
}
+#else
+ (void) inst;
#endif
if (!alloc_node_storage(emitInfo, n, n->Children[0]->Store->Size))