softpipe: fix broken AA points, AA lines
authorBrian Paul <brianp@vmware.com>
Wed, 3 Feb 2010 01:42:22 +0000 (18:42 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 3 Feb 2010 01:54:53 +0000 (18:54 -0700)
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.

src/gallium/drivers/llvmpipe/lp_state_derived.c

index 0155b9b..353ae17 100644 (file)
@@ -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