summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-09-21 11:20:29 -0600
committerBrian <[email protected]>2007-09-21 11:20:29 -0600
commite9259ad0d7f674a1f2f9156ba0baeedc0e7d0d54 (patch)
tree532a8e57afc6d1a86207c51bd51e79aa7e531f43 /src/mesa/pipe/softpipe
parent97b81eb98f57e9405ce3665df24eedd1a1af39fc (diff)
Get rid of TGSI_SEMANTIC_TEXCOORD and just use TGSI_SEMANTIC_GENERIC.
Diffstat (limited to 'src/mesa/pipe/softpipe')
-rw-r--r--src/mesa/pipe/softpipe/sp_state_derived.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mesa/pipe/softpipe/sp_state_derived.c b/src/mesa/pipe/softpipe/sp_state_derived.c
index 66e5cc48f68..0e78209e305 100644
--- a/src/mesa/pipe/softpipe/sp_state_derived.c
+++ b/src/mesa/pipe/softpipe/sp_state_derived.c
@@ -99,13 +99,8 @@ static void calculate_vertex_layout( struct softpipe_context *softpipe )
#endif
softpipe->psize_slot = i;
/*case TGSI_SEMANTIC_TEXCOORD:*/
- case TGSI_SEMANTIC_TEXCOORD:
- /* unit = fs->input_semantic_index[i] */
- draw_emit_vertex_attr(vinfo,
- FORMAT_4F, INTERP_PERSPECTIVE);
- softpipe->need_w = TRUE;
- break;
case TGSI_SEMANTIC_GENERIC:
+ /* this includes texcoords and varying vars */
draw_emit_vertex_attr(vinfo, FORMAT_4F, INTERP_PERSPECTIVE);
softpipe->need_w = TRUE;
break;