diff options
author | Vinson Lee <vlee@vmware.com> | 2010-02-17 02:10:49 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-02-17 02:10:49 -0800 |
commit | ba0ac64f06e7b6d9c7c1440b7e3fbc9007af88ff (patch) | |
tree | acd182faf6202ec3e25f3c725f899c3d980875a5 /src/mesa/shader | |
parent | 7eaf33ad0349e39dd6611b0b27aa44687e8c3014 (diff) | |
download | external_mesa3d-ba0ac64f06e7b6d9c7c1440b7e3fbc9007af88ff.zip external_mesa3d-ba0ac64f06e7b6d9c7c1440b7e3fbc9007af88ff.tar.gz external_mesa3d-ba0ac64f06e7b6d9c7c1440b7e3fbc9007af88ff.tar.bz2 |
glsl: Silence unused value warning.
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/slang/slang_emit.c | 2 |
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 c9ecbd2..0f67036 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)) |