glsl: Disallow return with a void argument from void functions.
authorMatt Turner <mattst88@gmail.com>
Wed, 22 May 2013 21:57:04 +0000 (14:57 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 14 Jun 2013 18:25:49 +0000 (11:25 -0700)
commitfcaa48d9cc8937e0ceb59dfd22ef5b6e6fd1a273
tree44b2c0fc70611acb37cb99ca6ea2024a62ffe782
parent1a1b03e6bc904e62f3f644164ace095bbb13836d
glsl: Disallow return with a void argument from void functions.

NOTE: This is a candidate for the stable branches.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp