summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_rast.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-12-11 17:45:52 -0700
committerBrian Paul <[email protected]>2009-12-11 17:45:52 -0700
commit932374073863379e9da862d6115410889f038154 (patch)
tree8e836ca3527991a73c85fcfa0152ce524b215040 /src/gallium/drivers/llvmpipe/lp_rast.c
parent8736ee1e7d45c2a3868d46b2ecba7471518cd9b6 (diff)
llvmpipe: added lp_rast_get_num_threads()
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index 9020cf9cec2..6b7aa8d729d 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -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;
+}