summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_setup.c
diff options
context:
space:
mode:
authorHui Qi Tay <[email protected]>2010-08-10 11:41:32 +0100
committerKeith Whitwell <[email protected]>2010-08-27 13:08:54 +0100
commit29ec116e8f21c65250f1083830b82ff59859496d (patch)
tree6320ac6755dd67b2ed6ea9a07fa04a02573d0da2 /src/gallium/drivers/llvmpipe/lp_setup.c
parent2cd72dd4590b4510931854ed776c72563603f7ff (diff)
llvmpipe: point sprites rasterization
Point sprites now done in the rasterizer setup code instead of going through the draw module.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c
index 778bfb4f6ea..3da9097154e 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup.c
@@ -496,11 +496,15 @@ lp_setup_set_line_state( struct lp_setup_context *setup,
void
lp_setup_set_point_state( struct lp_setup_context *setup,
- float point_size)
+ float point_size,
+ boolean point_size_per_vertex,
+ uint sprite)
{
LP_DBG(DEBUG_SETUP, "%s\n", __FUNCTION__);
setup->point_size = point_size;
+ setup->sprite = sprite;
+ setup->point_size_per_vertex = point_size_per_vertex;
}
void