Explorar el Código

gallium: fix wide point / point coord semantic info (generic, not fog)

tags/mesa_20090313
Brian Paul hace 17 años
padre
commit
a06d38a74e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/gallium/auxiliary/draw/draw_pipe_wide_point.c

+ 2
- 2
src/gallium/auxiliary/draw/draw_pipe_wide_point.c Ver fichero

@@ -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;
}

Cargando…
Cancelar
Guardar