diff options
author | Brian <[email protected]> | 2007-10-02 11:47:21 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-10-02 11:47:21 -0600 |
commit | 9ac03856f563e0e830f6cdeef321875682f79943 (patch) | |
tree | 656f0caf13f2734cd46d836ff11ac06e6d721f95 | |
parent | 0d13ade0cdd38759936a74824efbd6ac8b563aed (diff) |
remove dead code
-rw-r--r-- | src/mesa/pipe/draw/draw_vertex_shader.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex_shader.c b/src/mesa/pipe/draw/draw_vertex_shader.c index e3bcd353341..6e8036825d5 100644 --- a/src/mesa/pipe/draw/draw_vertex_shader.c +++ b/src/mesa/pipe/draw/draw_vertex_shader.c @@ -98,18 +98,6 @@ run_vertex_program(struct draw_context *draw, assert(draw->vertex_shader->state->output_semantic_name[0] == TGSI_SEMANTIC_POSITION); -#ifdef DEBUG_foo - memset( machine, 0, sizeof( *machine ) ); -#endif - -#if 0 - /* init machine state */ - tgsi_exec_machine_init(machine, - draw->vertex_shader->state->tokens, - PIPE_MAX_SAMPLERS, - NULL /*samplers*/ ); -#endif - /* Consts does not require 16 byte alignment. */ machine->Consts = (float (*)[4]) draw->mapped_constants; @@ -240,7 +228,7 @@ void draw_bind_vertex_shader(struct draw_context *draw, draw_flush(draw); draw->vertex_shader = (struct draw_vertex_shader*)(vcso); - /* init machine state */ + /* specify the fragment program to interpret/execute */ tgsi_exec_machine_init(&draw->machine, draw->vertex_shader->state->tokens, PIPE_MAX_SAMPLERS, |