projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
836aaa4
)
i965: Mark count_trailing_one_bits() static.
author
Matt Turner
<mattst88@gmail.com>
Sun, 22 Nov 2015 23:06:43 +0000
(15:06 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Tue, 24 Nov 2015 18:05:32 +0000
(10:05 -0800)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
b/src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
index ba11d3dd07fdabc452ff6ff63bd1a4d268763d6d..cb3c6f77808ef73290d38e045fa72f21b4b882a5 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
@@
-1344,7
+1344,7
@@
brw_blorp_blit_program::single_to_blend()
* count_trailing_one_bits(7) == 3
* count_trailing_one_bits(11) == 2
*/
-inline int count_trailing_one_bits(unsigned value)
+
static
inline int count_trailing_one_bits(unsigned value)
{
#ifdef HAVE___BUILTIN_CTZ
return __builtin_ctz(~value);