summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-02-02 18:42:22 -0700
committerBrian Paul <[email protected]>2010-02-02 18:54:53 -0700
commit54d7ec8e769b588ec93dea5bc04399e91737557e (patch)
tree84e2ecde9ad45dcc1e20f78b26ae8393c7390838
parent797dcc04e54537996799647380e7170d6d8d4094 (diff)
softpipe: fix broken AA points, AA lines
This fixes a regression when the geometry shaders branch was merged to master with commit 89d8577fb3036547ef0b47498cc8dc5c77f886e0. progs/demos/pointblast and progs/redbook/anti work again.
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_derived.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_derived.c b/src/gallium/drivers/llvmpipe/lp_state_derived.c
index 0155b9be501..353ae176fdb 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_derived.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_derived.c
@@ -65,7 +65,7 @@ llvmpipe_get_vertex_info(struct llvmpipe_context *llvmpipe)
/* compute vertex layout now */
const struct lp_fragment_shader *lpfs = llvmpipe->fs;
struct vertex_info *vinfo_vbuf = &llvmpipe->vertex_info_vbuf;
- const uint num = draw_current_shader_outputs(llvmpipe->draw);
+ const uint num = draw_num_shader_outputs(llvmpipe->draw);
uint i;
/* Tell draw_vbuf to simply emit the whole post-xform vertex