[Mesa-dev] [PATCH 5/5] mesa: remove dead code from api_loopback
Marek Olšák
maraeo at gmail.com
Tue Jul 17 05:58:43 UTC 2018
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);
}
}
--
2.17.1
More information about the mesa-dev
mailing list