Files
mesa/src
Ian Romanick 2db46fe5f0 glsl: Don't assert when the value returned by a function has no rvalue
The rvalue of the returned value can be NULL if the shader says
'return foo();' and foo() is a function that returns void.

Existing GLSL specs do *NOT* say that this is an error.  The type of
the return value is void.  If the return type of the function is also
void, then this should compile without error.  I expect that future
versions of the GLSL spec will fix this (wink, wink, nudge, nudge).

Fixes piglit test glsl-1.10/compiler/expressions/return-01.vert and
bugzilla #33308.

NOTE: This is a candidate for the 7.9 and 7.10 branches.
2011-01-22 18:04:40 -08:00
..
2011-01-14 14:29:19 +08:00
2011-01-12 16:54:21 +00:00
2011-01-22 11:59:05 +08:00
2010-08-26 18:29:04 +01:00
2011-01-22 11:59:05 +08:00