diff options
author | Brian Paul <[email protected]> | 2006-10-29 18:33:14 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-10-29 18:33:14 +0000 |
commit | ebcedd2d8909cc00d8528d76d3a1990315f270ea (patch) | |
tree | 6d89b2dff1b8cf8f826c7f2dfa4c2856375a359c /src/mesa/shader/nvprogram.c | |
parent | abb1430c79024198bdc9816465d3c8bc963adf8b (diff) |
New _mesa_exec_vertex_state_program() function. Start of some re-org.
Diffstat (limited to 'src/mesa/shader/nvprogram.c')
-rw-r--r-- | src/mesa/shader/nvprogram.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mesa/shader/nvprogram.c b/src/mesa/shader/nvprogram.c index 47d2b61a628..0e9a01dcab8 100644 --- a/src/mesa/shader/nvprogram.c +++ b/src/mesa/shader/nvprogram.c @@ -1,6 +1,6 @@ /* * Mesa 3-D graphics library - * Version: 6.5.1 + * Version: 6.5.2 * * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. * @@ -77,10 +77,7 @@ _mesa_ExecuteProgramNV(GLenum target, GLuint id, const GLfloat *params) return; } - _mesa_init_vp_per_vertex_registers(ctx); - _mesa_init_vp_per_primitive_registers(ctx); - COPY_4V(ctx->VertexProgram.Machine.Inputs[VERT_ATTRIB_POS], params); - _mesa_exec_vertex_program(ctx, vprog); + _mesa_exec_vertex_state_program(ctx, vprog, params); } |