[Mesa-dev] [PATCH 1/2] st/mesa: fix per-vertex point size

Roland Scheidegger sroland at vmware.com
Wed May 5 06:55:59 PDT 2010


On 04.05.2010 23:25, Marek Olšák wrote:
> 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]];
>  

This patch looks good to me.

Roland



More information about the mesa-dev mailing list