mesa/src
Paul Berry 428e030210 glsl: Fix lower_named_interface_blocks to account for dereferences of consts.
In certain rare cases (such as those involving dereference of a
literal constant array of structs),
flatten_named_interface_blocks_declarations's rvalue visitor may be
invoked on an ir_dereference_record whose variable_referenced() method
returns NULL.

Check for this case to avoid a segfault.

Prevents crashes in piglit tests
{vs,fs}-deref-literal-array-of-structs.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
2013-07-15 07:59:52 -07:00
..
egl wayland: Handle global_remove event as well 2013-06-18 17:45:19 -04:00
gallium gallivm: (trivial) use constant instead of exp2f() function 2013-07-14 02:39:33 +02:00
gbm
getopt
glsl glsl: Fix lower_named_interface_blocks to account for dereferences of consts. 2013-07-15 07:59:52 -07:00
glx glx: return True/False instead of GL_TRUE/GL_FALSE 2013-06-27 07:48:19 -06:00
gtest
mapi mesa: update glext.h to version 20130708 2013-07-12 08:32:51 -06:00
mesa i965: Gen4/5: use IEEE floating point mode for GLSL shaders. 2013-07-14 19:58:25 +12:00
Makefile.am
SConscript