diff options
author | Eric Anholt <eric@anholt.net> | 2012-10-09 14:56:33 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2012-10-15 11:53:22 -0700 |
commit | af90c8c5119d84cbc85dd800167f5ea938b3f4c8 (patch) | |
tree | b7ded4d0e8a793eeaf4ec7e2a058295e12406f2b /src/mesa/drivers/dri/i965/brw_vs_surface_state.c | |
parent | 1a8a0418f2837f7a33094ee7b5cfcb871f488407 (diff) | |
download | external_mesa3d-af90c8c5119d84cbc85dd800167f5ea938b3f4c8.zip external_mesa3d-af90c8c5119d84cbc85dd800167f5ea938b3f4c8.tar.gz external_mesa3d-af90c8c5119d84cbc85dd800167f5ea938b3f4c8.tar.bz2 |
intel: Remove NV_vertex_program support.
We were holding on to this code because we were aware that NWN 1 had some
support for vertex programs -- no other linux programs I've come across would
use it (since other software also has ARB_vp or GLSL support). Only, it turns
out that NWN doesn't even give us any vertex programs. Given that we have
known issues where the extension has never been fully supported, just give up
on it.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46795
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs_surface_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_surface_state.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_surface_state.c b/src/mesa/drivers/dri/i965/brw_vs_surface_state.c index e29797e..d70c36e 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_vs_surface_state.c @@ -44,7 +44,6 @@ static void brw_upload_vs_pull_constants(struct brw_context *brw) { - struct gl_context *ctx = &brw->intel.ctx; struct intel_context *intel = &brw->intel; /* BRW_NEW_VERTEX_PROGRAM */ struct brw_vertex_program *vp = @@ -52,9 +51,6 @@ brw_upload_vs_pull_constants(struct brw_context *brw) const struct gl_program_parameter_list *params = vp->program.Base.Parameters; int i; - if (vp->program.IsNVProgram) - _mesa_load_tracked_matrices(ctx); - /* Updates the ParamaterValues[i] pointers for all parameters of the * basic type of PROGRAM_STATE_VAR. */ |