summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r200/r200_vertprog.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2012-10-09 15:07:25 -0700
committerEric Anholt <eric@anholt.net>2012-10-15 11:53:22 -0700
commit63c233cf08acc47c37feba8134260a535c2c087c (patch)
treeb979f3ae351357aa8f662bfe5045704936de2adf /src/mesa/drivers/dri/r200/r200_vertprog.c
parentaf90c8c5119d84cbc85dd800167f5ea938b3f4c8 (diff)
r200: Remove support for software-only NV_vertex_program.
It wasn't supported in hardware, and the comments in the code indicated no known uses (similar to my experience on Intel) and a possible intent to remove it. Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/drivers/dri/r200/r200_vertprog.c')
-rw-r--r--src/mesa/drivers/dri/r200/r200_vertprog.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_vertprog.c b/src/mesa/drivers/dri/r200/r200_vertprog.c
index d26affb1fd..4dc5d56396 100644
--- a/src/mesa/drivers/dri/r200/r200_vertprog.c
+++ b/src/mesa/drivers/dri/r200/r200_vertprog.c
@@ -443,11 +443,6 @@ static GLboolean r200_translate_vertex_program(struct gl_context *ctx, struct r2
return GL_FALSE;
}
- if (mesa_vp->IsNVProgram) {
- /* subtle differences in spec like guaranteed initialized regs could cause
- headaches. Might want to remove the driconf option to enable it completely */
- return GL_FALSE;
- }
/* Initial value should be last tmp reg that hw supports.
Strangely enough r300 doesnt mind even though these would be out of range.
Smart enough to realize that it doesnt need it? */
@@ -1264,7 +1259,6 @@ r200IsProgramNative(struct gl_context *ctx, GLenum target, struct gl_program *pr
struct r200_vertex_program *vp = (void *)prog;
switch(target){
- case GL_VERTEX_STATE_PROGRAM_NV:
case GL_VERTEX_PROGRAM_ARB:
if (!vp->translated) {
r200_translate_vertex_program(ctx, vp);