summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bin.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-12-07 17:02:17 -0700
committerBrian Paul <brianp@vmware.com>2009-12-07 18:04:54 -0700
commit3a06c113c76355fc9622adfe7565c18d9787e9a8 (patch)
tree7020ba41b1fda67c9f4adb157fba7ec2f8cca1d9 /src/gallium/drivers/llvmpipe/lp_bin.h
parentcdaea049c95031338040b31ff31944c8a001a1dd (diff)
llvmpipe: repartition lp_rasterizer state for threading
Some of the state is per-thread. Put that state in new lp_rasterizer_task struct.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bin.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bin.h b/src/gallium/drivers/llvmpipe/lp_bin.h
index 24e599ea66..b07ff64e62 100644
--- a/src/gallium/drivers/llvmpipe/lp_bin.h
+++ b/src/gallium/drivers/llvmpipe/lp_bin.h
@@ -56,7 +56,9 @@
/* switch to a non-pointer value for this:
*/
-typedef void (*lp_rast_cmd)( struct lp_rasterizer *, const union lp_rast_cmd_arg );
+typedef void (*lp_rast_cmd)( struct lp_rasterizer *,
+ unsigned thread_index,
+ const union lp_rast_cmd_arg );
struct cmd_block {
lp_rast_cmd cmd[CMD_BLOCK_MAX];