projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71afc13
)
gallivm: silence unused var warnings for non-debug build
author
Brian Paul
<brianp@vmware.com>
Fri, 29 May 2015 22:00:52 +0000
(16:00 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 1 Jun 2015 13:42:03 +0000
(07:42 -0600)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
b/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
index 3c25c329edde4dcb5bcc4dbf3448442c5f314ff5..efe71704c3a6eef5ae6caa673054d017a2e46825 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_format_aos.c
@@
-405,6
+405,7
@@
lp_build_fetch_rgba_aos(struct gallivm_state *gallivm,
aligned, base_ptr, offset, TRUE);
assert(format_desc->block.bits <= vec_len);
+ (void) vec_len; /* silence unused var warning for non-debug build */
packed = LLVMBuildBitCast(gallivm->builder, packed, dst_vec_type, "");
return lp_build_format_swizzle_aos(format_desc, &bld, packed);