mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
llvmpipe: added lp_bin_get_num_bins()
This commit is contained in:
parent
2876b684de
commit
8736ee1e7d
1 changed files with 7 additions and 0 deletions
|
|
@ -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 );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue