llvmpipe: fix (potentially) broken AA points, AA lines
authorBrian Paul <brianp@vmware.com>
Wed, 3 Feb 2010 01:43:11 +0000 (18:43 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 3 Feb 2010 01:54:53 +0000 (18:54 -0700)
This patch duplicates the softpipe fix seen in the preceeding commit.

src/gallium/drivers/softpipe/sp_state_derived.c

index f6856a5f69102dd22bf1d5649840f5057a1bbdaf..12d1f522020edb055b3196ecc7b7431a6ba1e97d 100644 (file)
@@ -67,7 +67,7 @@ softpipe_get_vertex_info(struct softpipe_context *softpipe)
       /* compute vertex layout now */
       const struct sp_fragment_shader *spfs = softpipe->fs;
       struct vertex_info *vinfo_vbuf = &softpipe->vertex_info_vbuf;
-      const uint num = draw_current_shader_outputs(softpipe->draw);
+      const uint num = draw_num_shader_outputs(softpipe->draw);
       uint i;
 
       /* Tell draw_vbuf to simply emit the whole post-xform vertex