summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_emit.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-02-17 02:10:49 -0800
committerVinson Lee <[email protected]>2010-02-17 02:10:49 -0800
commitba0ac64f06e7b6d9c7c1440b7e3fbc9007af88ff (patch)
treeacd182faf6202ec3e25f3c725f899c3d980875a5 /src/mesa/shader/slang/slang_emit.c
parent7eaf33ad0349e39dd6611b0b27aa44687e8c3014 (diff)
glsl: Silence unused value warning.
Diffstat (limited to 'src/mesa/shader/slang/slang_emit.c')
-rw-r--r--src/mesa/shader/slang/slang_emit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c
index c9ecbd275b8..0f670360ee8 100644
--- 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))