glsl: Function signatures cannot have NULL return type
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 7 Mar 2011 23:08:22 +0000 (15:08 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 8 Mar 2011 19:47:25 +0000 (11:47 -0800)
commit2df56b002dcc5d7e91515bd0ca741677f0172b38
treee3da76a4254f5d6398e851ab13fd93b82aa20571
parent719f07e45a4cd43d1edce196512b54f36ada53b1
glsl: Function signatures cannot have NULL return type

The return type can be void, and this is the case where a `_ret_val'
variable should not be declared.
src/glsl/ir_validate.cpp
src/glsl/opt_function_inlining.cpp