Recently I realized that there are two methods that provides the same functionality, _mesa_is_array_texture (at teximage.[ch]) and _mesa_tex_target_is_array (at texformat.[ch]) so it makes sense to remove one.
This two-patch series removes _mesa_is_array_texture just because _mesa_tex_target_is_array is older. But it is worth to note that perhaps some people would prefer the other way, because teximage.h already have other utility methods like this (example: _mesa_is_proxy_texture) and because _mesa_is_array_texture has a more proper returning value based on this review: http://lists.freedesktop.org/archives/mesa-dev/2015-February/076533.html So although if someone prefers to keep the newer instead of the older, I can make the opposite change. Alejandro Piñeiro (2): i965: use _mesa_tex_target_is_array instead of _mesa_is_array_texture mesa: remove _mesa_is_array_texture src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | 2 +- src/mesa/drivers/dri/i965/gen8_surface_state.c | 2 +- src/mesa/main/teximage.c | 23 ----------------------- src/mesa/main/teximage.h | 3 --- 4 files changed, 2 insertions(+), 28 deletions(-) -- 2.1.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev