ir_reader: Relax requirement that function arguments be s_lists.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 31 Dec 2010 10:03:21 +0000 (02:03 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 13 Jan 2011 07:55:33 +0000 (23:55 -0800)
commite486fca2d3b430065cbcb27c5d1b545642e11ab5
treec63e4a90762a54d1c5b7aad66e6baffa43007afe
parentd7988152722cd5f3930064a139b567cbcb0e5f53
ir_reader: Relax requirement that function arguments be s_lists.

All of these functions used to take s_list pointers so they wouldn't all
need SX_AS_LIST conversions and error checking.  However, the new
pattern matcher conveniently does this for us in one centralized place.

So there's no need to insist on s_list.  Switching to s_expression saves
a bit of code and is somewhat cleaner.
src/glsl/ir_reader.cpp