From: Brian Paul Date: Wed, 3 Feb 2010 01:42:22 +0000 (-0700) Subject: softpipe: fix broken AA points, AA lines X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54d7ec8e769b588ec93dea5bc04399e91737557e;p=mesa.git 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. --- 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