mesa: Drop a comment about ff vertex shading and texturing.
authorEric Anholt <eric@anholt.net>
Tue, 8 Jan 2013 00:58:58 +0000 (16:58 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 18 Jan 2013 21:03:27 +0000 (13:03 -0800)
It's never going to have texture fetches.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/texstate.c

index 8e9bbf6a18052041efc7d5d3db95a0b972cac06d..3adea542f57b24620665e066df9445faa9a1bef9 100644 (file)
@@ -500,11 +500,6 @@ update_texture_state( struct gl_context *ctx )
    if (ctx->Shader.CurrentVertexProgram &&
        ctx->Shader.CurrentVertexProgram->LinkStatus) {
       vprog = ctx->Shader.CurrentVertexProgram->_LinkedShaders[MESA_SHADER_VERTEX]->Program;
-   } else if (ctx->VertexProgram._Enabled) {
-      /* XXX enable this if/when non-shader vertex programs get
-       * texture fetches:
-       vprog = &ctx->VertexProgram.Current->Base;
-       */
    }
 
    if (ctx->Shader.CurrentFragmentProgram &&