projects
/
profile
/
ivi
/
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
c9ecbd2
..
0f67036
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))