[Mesa-dev] [PATCH 1/3] mesa: Drop a comment about ff vertex shading and texturing.
Ian Romanick
idr at freedesktop.org
Mon Jan 14 14:30:23 PST 2013
Series is
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
On 01/11/2013 08:57 PM, Eric Anholt wrote:
> It's never going to have texture fetches.
> ---
> src/mesa/main/texstate.c | 5 -----
> 1 file changed, 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-dev
mailing list