mesa/src
Eduardo Lima Mitev 5d64cae842 mesa: Validate target before resolving tex obj in glTex(ture)SubImageXD
Currently, glTexSubImageXD attempt to resolve the texture object
(by calling _mesa_get_current_tex_object()) before validating the given
target. However, that method explicitly states that target must have been
validated before calling it, so it never returns a user error.

The target validation occurs later when texsubimage_error_check() is called.

This patch reorganizes target validation, taking it out from the error check
function and into a point before the texture object is resolved.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: 10.6 <mesa-stable@lists.freedesktop.org>
2015-08-05 08:20:16 +02:00
..
egl egl: Add eglQuerySurface surface type check for EGL_LARGEST_PBUFFER attrib 2015-08-04 20:03:16 -07:00
gallium vc4: Use nir_lower_load_const_to_scalar(). 2015-08-04 20:03:15 -07:00
gbm gbm: do not build intermittent libgbm_dri static library 2015-07-22 16:35:27 +01:00
getopt
glsl glsl: add variable mode check to build_stageref 2015-08-05 07:25:53 +03:00
glx glx: Use _mesa_lroundevenf() in glPixelStoref(). 2015-08-04 10:33:16 -07:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
loader loader: use HAVE_LIBDRM instead of ! __NOT_HAVE_DRM_H 2015-07-22 16:35:25 +01:00
mapi apiexec: remove leading gl from shader subroutine interfaces 2015-07-24 12:07:11 +10:00
mesa mesa: Validate target before resolving tex obj in glTex(ture)SubImageXD 2015-08-05 08:20:16 +02:00
util util: Use SSE intrinsics in _mesa_lroundeven{f,}. 2015-08-04 10:33:13 -07:00
Makefile.am automake: rework the EGL build 2015-07-22 16:35:27 +01:00
SConscript scons: rework the EGL build 2015-07-22 16:35:27 +01:00