From 54d7ec8e769b588ec93dea5bc04399e91737557e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 2 Feb 2010 18:42:22 -0700 Subject: [PATCH] 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. --- src/gallium/drivers/llvmpipe/lp_state_derived.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2