glsl: Factor out code which emits a new function into the IR stream.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 6 Dec 2010 18:54:05 +0000 (10:54 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 6 Dec 2010 21:43:22 +0000 (13:43 -0800)
commit6fae1e4c4d33769e2f255d50907b5aa0ab80edd4
treeccacbb0644e5b987bf0ac986b26e61941e43faaf
parentd72cb9c94d0194861df3ca53e7181cfa08fd782a
glsl: Factor out code which emits a new function into the IR stream.

A future commit will use the newly created function in a second place.
src/glsl/ast.h
src/glsl/ast_to_hir.cpp