glsl: Add several function / call related validations
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 7 Mar 2011 23:13:06 +0000 (15:13 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 8 Mar 2011 19:47:25 +0000 (11:47 -0800)
commit8bbfbb14eee53e42a488ba24c0cfc9ffa1cf6318
tree87a6a06a2028805be8f5311d61afc5f7ffa2aef6
parent2df56b002dcc5d7e91515bd0ca741677f0172b38
glsl: Add several function / call related validations

The signature list in a function must contain only ir_function_signature nodes.

The target of an ir_call must be an ir_function_signature.

These were added while trying to debug Mesa bugzilla #34203.
src/glsl/ir_validate.cpp