mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
llvmpipe: added lp_rast_get_num_threads()
This commit is contained in:
parent
8736ee1e7d
commit
9323740738
2 changed files with 9 additions and 0 deletions
|
|
@ -801,3 +801,10 @@ void lp_rast_destroy( struct lp_rasterizer *rast )
|
|||
FREE(rast);
|
||||
}
|
||||
|
||||
|
||||
/** Return number of rasterization threads */
|
||||
unsigned
|
||||
lp_rast_get_num_threads( struct lp_rasterizer *rast )
|
||||
{
|
||||
return rast->num_threads;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -133,6 +133,8 @@ struct lp_rasterizer *lp_rast_create( struct pipe_screen *screen,
|
|||
|
||||
void lp_rast_destroy( struct lp_rasterizer * );
|
||||
|
||||
unsigned lp_rast_get_num_threads( struct lp_rasterizer * );
|
||||
|
||||
void lp_rasterize_bins( struct lp_rasterizer *rast,
|
||||
struct lp_bins *bins,
|
||||
const struct pipe_framebuffer_state *fb,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue