gallium: fix wide point / point coord semantic info (generic, not fog)
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 17 Sep 2008 22:51:53 +0000 (16:51 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 17 Sep 2008 22:51:53 +0000 (16:51 -0600)
src/gallium/auxiliary/draw/draw_pipe_wide_point.c

index 4f1326053dfe3fbc4d58c6b303d43d89b0f5699f..e1af9e56a24f0b10c41d8d878bfe31458a794745 100644 (file)
@@ -222,8 +222,8 @@ static void widepoint_first_point( struct draw_stage *stage,
       /* find fragment shader PointCoord/Fog input */
       wide->point_coord_fs_input = 0; /* XXX fix this! */
 
-      /* setup extra vp output */
-      draw->extra_vp_outputs.semantic_name = TGSI_SEMANTIC_FOG;
+      /* setup extra vp output (point coord implemented as a texcoord) */
+      draw->extra_vp_outputs.semantic_name = TGSI_SEMANTIC_GENERIC;
       draw->extra_vp_outputs.semantic_index = 0;
       draw->extra_vp_outputs.slot = draw->vs.num_vs_outputs;
    }