mesa/src
Kenneth Graunke 7a348b91ce glsl: Make ir_dereference_variable ctor assert the variable exists.
This also seems like a bad idea.  There were too many instances for me
to thoroughly scan the code as I did with the last two patches, but a
quick scan indicated that most callers newly allocate a variable,
dereference it, or NULL-check.  In some cases, it wasn't clear that the
value would be non-NULL, but they didn't check for error_type either.

At any rate, not checking for this is a bug, and assertions will trigger
it earlier and more reliably than returning error_type.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
2012-03-26 10:21:57 -07:00
..
egl Add Makefile.in to toplevel .gitignore 2012-03-20 11:50:50 -07:00
gallium st/vdpau: clear video surface at least once 2012-03-26 12:39:40 +02:00
gbm Add Makefile.in to toplevel .gitignore 2012-03-20 11:50:50 -07:00
getopt getopt: Make code more portable. 2011-01-12 16:54:21 +00:00
glsl glsl: Make ir_dereference_variable ctor assert the variable exists. 2012-03-26 10:21:57 -07:00
glu scons: Add Haiku build support 2012-01-17 20:01:14 +00:00
glx glx/drisw: avoid segfaults when we fail to get visual 2012-03-24 13:05:19 +00:00
mapi mapi: Use -no-undefined libtool flag in src/mapi/shared-glapi/Makefile.am 2012-03-21 11:31:45 -07:00
mesa intel: fix TFP at 16-bpp 2012-03-25 17:15:52 +01:00
Makefile Create $(TOP)/$(LIB_DIR) for install, too 2008-06-22 20:19:35 -07:00
SConscript scons: Add Haiku build support 2012-01-17 20:01:14 +00:00