diff options
author | Brian Paul <brianp@vmware.com> | 2009-12-07 17:02:17 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-12-07 18:04:54 -0700 |
commit | 3a06c113c76355fc9622adfe7565c18d9787e9a8 (patch) | |
tree | 7020ba41b1fda67c9f4adb157fba7ec2f8cca1d9 /src/gallium/drivers/llvmpipe/lp_bin.h | |
parent | cdaea049c95031338040b31ff31944c8a001a1dd (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.h | 4 |
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]; |