projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: Move util_is_power_of_two to bitscan.h and rename to util_is_power_of_two_or_zero
[mesa.git]
/
src
/
gallium
/
auxiliary
/
gallivm
/
lp_bld_pack.c
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_pack.c
b/src/gallium/auxiliary/gallivm/lp_bld_pack.c
index 7879826422d98c50db17e76b2529dc63cbc73f81..b8b53a7d6eb0aa2ce33a266197a7ead15585fd30 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_pack.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_pack.c
@@
-219,7
+219,7
@@
lp_build_concat(struct gallivm_state *gallivm,
LLVMValueRef shuffles[LP_MAX_VECTOR_LENGTH];
assert(src_type.length * num_vectors <= ARRAY_SIZE(shuffles));
- assert(util_is_power_of_two(num_vectors));
+ assert(util_is_power_of_two
_or_zero
(num_vectors));
new_length = src_type.length;