[Mesa-dev] Mesa (master): st/mesa: fix per-vertex point size
Brian Paul
brianp at vmware.com
Wed May 5 15:22:56 PDT 2010
Marek Olšák wrote:
> Module: Mesa
> Branch: master
> Commit: 0ad541a684ca55e883a0bcde9ab8b5d73806269a
> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ad541a684ca55e883a0bcde9ab8b5d73806269a
>
> Author: Marek Olšák <maraeo at gmail.com>
> Date: Tue May 4 22:42:29 2010 +0200
>
> st/mesa: fix per-vertex point size
>
> This fixes FDO bug #27343.
>
> ---
>
> src/mesa/state_tracker/st_mesa_to_tgsi.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c
> index e8eb9ec..0991e99 100644
> --- a/src/mesa/state_tracker/st_mesa_to_tgsi.c
> +++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c
> @@ -154,7 +154,7 @@ dst_register( struct st_translate *t,
> return t->temps[index];
>
> case PROGRAM_OUTPUT:
> - if (index == t->psizoutindex)
> + if (index == VERT_RESULT_PSIZ)
> t->prevInstWrotePsiz = GL_TRUE;
> return t->outputs[t->outputMapping[index]];
>
Should this go into the 7.8 branch?
-Brian
More information about the mesa-dev
mailing list