Mesa (master): mesa: Drop a comment about ff vertex shading and texturing.

Eric Anholt anholt at kemper.freedesktop.org
Fri Jan 18 21:28:24 UTC 2013


Module: Mesa
Branch: master
Commit: b5788146bac2b9da48cacad758dbe7868503cf76
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5788146bac2b9da48cacad758dbe7868503cf76

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jan  7 16:58:58 2013 -0800

mesa: Drop a comment about ff vertex shading and texturing.

It's never going to have texture fetches.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

---

 src/mesa/main/texstate.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index 8e9bbf6..3adea54 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -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 &&




More information about the mesa-commit mailing list