summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_vertex_shader.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-09-20 14:08:09 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-09-20 14:08:09 -0600
commit478d1e2c9c73fc29542375c44d01ab964ce8eccf (patch)
tree1c9c1ba08bfe5a0c81150c49acce0fab9cd63956 /src/mesa/pipe/draw/draw_vertex_shader.c
parent064daf319cf1868575c794f2380d54ea5b8358af (diff)
remove old/used code
Diffstat (limited to 'src/mesa/pipe/draw/draw_vertex_shader.c')
-rw-r--r--src/mesa/pipe/draw/draw_vertex_shader.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex_shader.c b/src/mesa/pipe/draw/draw_vertex_shader.c
index 2d424632e7..6461e3e3ba 100644
--- a/src/mesa/pipe/draw/draw_vertex_shader.c
+++ b/src/mesa/pipe/draw/draw_vertex_shader.c
@@ -94,11 +94,7 @@ run_vertex_program(struct draw_context *draw,
const float *trans = draw->viewport.translate;
assert(count <= 4);
-#if 0
- assert(draw->vertex_shader.outputs_written & (1 << TGSI_ATTRIB_POS));
-#else
assert(draw->vertex_shader.output_semantics[0] == TGSI_SEMANTIC_POSITION);
-#endif
#ifdef DEBUG
memset( &machine, 0, sizeof( machine ) );