summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2011-09-21 11:22:43 -0600
committerBrian Paul <[email protected]>2011-09-22 08:26:36 -0600
commit553930424dec0cb1a83d2c928c260de6626b0d11 (patch)
tree41b630835131abe39a24710da91c6ea087eefbee /src/gallium/drivers/llvmpipe
parentffb1996f614679553ef1d029306d0194b3161113 (diff)
util: add u_bit_scan helper
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast_debug.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast_debug.c b/src/gallium/drivers/llvmpipe/lp_rast_debug.c
index b7568ec99c0..86f5f6415e8 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast_debug.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast_debug.c
@@ -2,13 +2,6 @@
#include "lp_rast_priv.h"
#include "lp_state_fs.h"
-static INLINE int u_bit_scan(unsigned *mask)
-{
- int i = ffs(*mask) - 1;
- *mask &= ~(1 << i);
- return i;
-}
-
struct tile {
int coverage;
int overdraw;