summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_screen.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-04-24 13:20:39 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-04-24 13:20:39 +0100
commit39be50dcdebe6bcbb48cb6aa8ac151eee811acb1 (patch)
tree8eea7003235544c246bd3bbaf7e7f96025457ecd /src/gallium/drivers/llvmpipe/lp_screen.h
parente7a8cfc8776c70f8c4cc3e158f663f6c630169ed (diff)
llvmpipe: Move the determination of the number of threads to the screen.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_screen.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.h b/src/gallium/drivers/llvmpipe/lp_screen.h
index af25e043cc..4f39432610 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.h
+++ b/src/gallium/drivers/llvmpipe/lp_screen.h
@@ -58,6 +58,8 @@ struct llvmpipe_screen
LLVMTypeRef context_ptr_type;
+ unsigned num_threads;
+
/* Increments whenever textures are modified. Contexts can track
* this.
*/