Don't create a parameter declaration for a (void) parameter.
authorEric Anholt <eric@anholt.net>
Wed, 31 Mar 2010 19:56:36 +0000 (09:56 -1000)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 2 Apr 2010 18:05:16 +0000 (11:05 -0700)
commit068c80cfe0a280490353b6b007165d717c672eed
tree58e9d86f4ed90c23e71aab27fa7f45be44b965c6
parent03d3f3ab71ba280071f54cb60505212be6710f8e
Don't create a parameter declaration for a (void) parameter.

Fixes segfaults in a shader consisting of just:

    void main(void) { }

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
ast_to_hir.cpp