From 60b815604e9d6dd772ef2f0dfb8c70372d2f5f76 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 2 Feb 2010 18:43:11 -0700 Subject: [PATCH] llvmpipe: fix (potentially) broken AA points, AA lines This patch duplicates the softpipe fix seen in the preceeding commit. --- src/gallium/drivers/softpipe/sp_state_derived.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/softpipe/sp_state_derived.c b/src/gallium/drivers/softpipe/sp_state_derived.c index f6856a5f691..12d1f522020 100644 --- a/src/gallium/drivers/softpipe/sp_state_derived.c +++ b/src/gallium/drivers/softpipe/sp_state_derived.c @@ -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 -- 2.30.2