summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bin.h b/src/gallium/drivers/llvmpipe/lp_bin.h
index 565dd49f684..e763b16ffe6 100644
--- 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 );