mesa/src
Kenneth Graunke 7d2423a09e glsl: Fix NULL pointer dereferences when linking fails.
Commit 7cfefe6965 introduced a check for whether linked->Type equals
GL_GEOMETRY_SHADER.  However, linked may be NULL due to an earlier error
condition.

Since the entire function after the error path is (or should be) guarded
by linked != NULL checks, we may as well just return early and remove
the checks.

Fixes crashes in 9 Piglit tests.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
2013-08-02 08:24:23 -07:00
..
egl egl/dri2: support for creating images out of dma buffers 2013-08-02 08:56:03 +03:00
gallium r600g: honour semantic index in fragment color exports 2013-08-02 13:32:49 +02:00
gbm
getopt
glsl glsl: Fix NULL pointer dereferences when linking fails. 2013-08-02 08:24:23 -07:00
glx Apple: glFlush() is not needed with CGLFlushDrawable() 2013-07-20 10:25:28 -07:00
gtest
mapi build: Add tests directories to SUBDIRS 2013-07-22 10:48:45 -07:00
mesa i965: enable image external sampling for imported dma-buffers 2013-08-02 08:56:03 +03:00
Makefile.am
SConscript