[Mesa-dev] [PATCH 5/5] mesa: remove dead code from api_loopback

Timothy Arceri tarceri at itsqueeze.com
Tue Jul 17 06:55:01 UTC 2018


Series:

Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>

On 17/07/18 15:58, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak at amd.com>
> 
> This should only contain functions not set in vtxfmt.c.
> ---
>   src/mesa/main/api_loopback.c | 17 -----------------
>   1 file changed, 17 deletions(-)
> 
> diff --git a/src/mesa/main/api_loopback.c b/src/mesa/main/api_loopback.c
> index 4eab8118c78..c03c33ee339 100644
> --- a/src/mesa/main/api_loopback.c
> +++ b/src/mesa/main/api_loopback.c
> @@ -1783,29 +1783,12 @@ _mesa_loopback_init_api_table(const struct gl_context *ctx,
>         SET_VertexAttrib4Niv(dest, _mesa_VertexAttrib4Niv);
>         SET_VertexAttrib4Nuiv(dest, _mesa_VertexAttrib4Nuiv);
>   
>         /* GL_EXT_gpu_shader4, GL 3.0 */
>         SET_VertexAttribI1iv(dest, _mesa_VertexAttribI1iv);
>         SET_VertexAttribI1uiv(dest, _mesa_VertexAttribI1uiv);
>         SET_VertexAttribI4bv(dest, _mesa_VertexAttribI4bv);
>         SET_VertexAttribI4sv(dest, _mesa_VertexAttribI4sv);
>         SET_VertexAttribI4ubv(dest, _mesa_VertexAttribI4ubv);
>         SET_VertexAttribI4usv(dest, _mesa_VertexAttribI4usv);
> -
> -      /* GL_ARB_bindless_texture */
> -      SET_VertexAttribL1ui64ARB(dest, _mesa_VertexAttribL1ui64ARB);
> -      SET_VertexAttribL1ui64vARB(dest, _mesa_VertexAttribL1ui64vARB);
> -   }
> -
> -   if (ctx->API == API_OPENGL_CORE) {
> -      /* GL 4.1 / GL_ARB_vertex_attrib_64bit */
> -      SET_VertexAttribL1d(dest, _mesa_VertexAttribL1d);
> -      SET_VertexAttribL2d(dest, _mesa_VertexAttribL2d);
> -      SET_VertexAttribL3d(dest, _mesa_VertexAttribL3d);
> -      SET_VertexAttribL4d(dest, _mesa_VertexAttribL4d);
> -
> -      SET_VertexAttribL1dv(dest, _mesa_VertexAttribL1dv);
> -      SET_VertexAttribL2dv(dest, _mesa_VertexAttribL2dv);
> -      SET_VertexAttribL3dv(dest, _mesa_VertexAttribL3dv);
> -      SET_VertexAttribL4dv(dest, _mesa_VertexAttribL4dv);
>      }
>   }
> 


More information about the mesa-dev mailing list