projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2876b68
)
llvmpipe: added lp_bin_get_num_bins()
author
Brian Paul
<brianp@vmware.com>
Sat, 12 Dec 2009 00:33:30 +0000
(17:33 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 12 Dec 2009 00:33:30 +0000
(17:33 -0700)
src/gallium/drivers/llvmpipe/lp_bin.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_bin.h
b/src/gallium/drivers/llvmpipe/lp_bin.h
index
565dd49
..
e763b16
100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_bin.h
+++ b/
src/gallium/drivers/llvmpipe/lp_bin.h
@@
-258,6
+258,13
@@
lp_bin_state_command( struct lp_bins *bins,
const union lp_rast_cmd_arg arg );
+static INLINE unsigned
+lp_bin_get_num_bins( const struct lp_bins *bins )
+{
+ return bins->tiles_x * bins->tiles_y;
+}
+
+
void
lp_bin_iter_begin( struct lp_bins *bins );