From 0ad541a684ca55e883a0bcde9ab8b5d73806269a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 4 May 2010 22:42:29 +0200 Subject: [PATCH] st/mesa: fix per-vertex point size This fixes FDO bug #27343. --- src/mesa/state_tracker/st_mesa_to_tgsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c index e8eb9ec3904..0991e99e76c 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]]; -- 2.30.2