summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_setup_tri.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-10-09 15:10:15 +0100
committerKeith Whitwell <keithw@vmware.com>2009-10-09 15:10:15 +0100
commitda1808ccc9a53fdd5aa69efa800ece0d3d075b07 (patch)
treea6a4144a5d77806ce9226c074510999e3181d657 /src/gallium/drivers/llvmpipe/lp_setup_tri.c
parent402c189af7e95be99ba2e5fd71a71987ffd73c2f (diff)
llvmpipe: just bin whole tiles for now
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup_tri.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_tri.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c
index 5c402259df..857fb6a9f8 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c
@@ -421,10 +421,15 @@ do_triangle_ccw(struct setup_context *setup,
}
else
{
+#if 1
+ bin_command( &setup->tile[x][y], lp_rast_shade_tile,
+ lp_rast_arg_inputs(&tri->inputs) );
+#else
/* shade partial tile */
bin_command( &setup->tile[x][y],
lp_rast_triangle,
lp_rast_arg_triangle(tri) );
+#endif
}
/* Iterate cx values across the region: