aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_draw.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-10-09 15:38:53 -0700
committerEric Anholt <[email protected]>2012-10-15 11:53:23 -0700
commit4f9d351ef186314a58e58795936de38e1b765f18 (patch)
tree93af345fbd62e32afa2b4b7fe48595e403d296d9 /src/mesa/vbo/vbo_exec_draw.c
parent6a20f0e561dae647ebc590bf0cfde3cf66fa6d9d (diff)
mesa: Remove support for NV_vertex_program's special attributes aliasing
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_exec_draw.c')
-rw-r--r--src/mesa/vbo/vbo_exec_draw.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/vbo/vbo_exec_draw.c b/src/mesa/vbo/vbo_exec_draw.c
index 15ecfc03119..817af4dd52b 100644
--- a/src/mesa/vbo/vbo_exec_draw.c
+++ b/src/mesa/vbo/vbo_exec_draw.c
@@ -180,12 +180,7 @@ vbo_exec_bind_arrays( struct gl_context *ctx )
}
map = vbo->map_vp_none;
break;
- case VP_NV:
case VP_ARB:
- /* The aliasing of attributes for NV vertex programs has already
- * occurred. NV vertex programs cannot access material values,
- * nor attributes greater than VERT_ATTRIB_TEX7.
- */
for (attr = 0; attr < VERT_ATTRIB_FF_MAX; attr++) {
exec->vtx.inputs[attr] = &vbo->currval[VBO_ATTRIB_POS+attr];
}