summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast_tri.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-02-24 13:30:57 -0700
committerBrian Paul <brianp@vmware.com>2010-02-24 13:54:25 -0700
commit1c9db3c57f1538e21b839df0989b958be3465a36 (patch)
tree5e748ddb22b8c46fc2e9d34abf5275e6c003d30b /src/gallium/drivers/llvmpipe/lp_rast_tri.c
parentab71a5e4c918eee19b518603a2db11d2793b2c91 (diff)
llvmpipe: pass fewer parameters to rasterization functions
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast_tri.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast_tri.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast_tri.c b/src/gallium/drivers/llvmpipe/lp_rast_tri.c
index bbc95c399a..90325aedb8 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast_tri.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast_tri.c
@@ -93,10 +93,7 @@ block_full_4( struct lp_rasterizer_task *rast_task,
const struct lp_rast_triangle *tri,
int x, int y )
{
- lp_rast_shade_quads_all(rast_task->rast,
- rast_task->thread_index,
- &tri->inputs,
- x, y);
+ lp_rast_shade_quads_all(rast_task, &tri->inputs, x, y);
}
@@ -133,8 +130,7 @@ do_block_4( struct lp_rasterizer_task *rast_task,
assert(x >= 0);
assert(y >= 0);
- lp_rast_shade_quads(rast_task->rast,
- rast_task->thread_index,
+ lp_rast_shade_quads(rast_task,
&tri->inputs,
x, y,
-c1, -c2, -c3);