Re: [Mesa-dev] [PATCH 3/9] glsl: Skip function inlining until we've seen another function defined.

2011-03-14 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 After working on bug #34203, which turned out to now be inlining related, I had some ideas about the inliner. Right now the inliner proceeds in the order that it encounters functions in the IR. This results in a number of issues including the OOM fai

[Mesa-dev] [PATCH 3/9] glsl: Skip function inlining until we've seen another function defined.

2011-03-11 Thread Eric Anholt
--- src/glsl/opt_function_inlining.cpp | 23 +-- 1 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/glsl/opt_function_inlining.cpp b/src/glsl/opt_function_inlining.cpp index 8fef358..3f63b8d 100644 --- a/src/glsl/opt_function_inlining.cpp +++ b/src/glsl/opt_