glsl: Statically cast parameter exec_node to ir_variable.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 11 Jan 2014 00:13:54 +0000 (16:13 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 13 Jan 2014 19:38:19 +0000 (11:38 -0800)
commit02ff2a275892aa180c84fa2fbb5b44409218c0f3
tree18ba715f7fbf7afe4bfcb375b5421d52248049ee
parent8050584096eec50570bfc0c81926050f27a5dfe5
glsl: Statically cast parameter exec_node to ir_variable.

Formal function parameters are always ir_variable objects, not an
arbitrary ir_instruction.  So there's no need to dynamically cast here.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/builtin_functions.cpp