After we've found the slang_function ptr for a SLANG_OPER_CALL node, save the ptr...
authorBrian <brian@yutani.localnet.net>
Wed, 14 Mar 2007 16:49:35 +0000 (10:49 -0600)
committerBrian <brian@yutani.localnet.net>
Wed, 14 Mar 2007 16:49:35 +0000 (10:49 -0600)
commit2dc3e944704dd90eb4324babac070b7e2fff70fc
treea388bf7bc431945a97482c97589b512402285272
parentb1a955b5186d9d455416534bcdc170373c7393d9
After we've found the slang_function ptr for a SLANG_OPER_CALL node, save the ptr in the node for reuse.

This can save a tremendous amount of time when resolving types in complex
expressions.  One particular shader was taking several minutes to compile
but now compiles almost instantaneoulsy.
src/mesa/shader/slang/slang_typeinfo.c
src/mesa/shader/slang/slang_typeinfo.h