glsl: Add an origin pointer in the function signature object.
authorOlivier Galibert <galibert@pobox.com>
Wed, 2 May 2012 21:11:41 +0000 (23:11 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 8 May 2012 19:55:52 +0000 (12:55 -0700)
commit2ff7b121cad2892698ff1aa7690dd361ea2739a7
tree36f37ef92994c7cd82b50fe7e35fb466fbb654f3
parent8ec01ba2ff95449674c779c05afcd32bbf7dbdc8
glsl: Add an origin pointer in the function signature object.

This points to the object with the function body, allowing us to map
from a built-in prototype to the actual body with IR code to execute.

Signed-off-by: Olivier Galibert <galibert@pobox.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir.cpp
src/glsl/ir.h
src/glsl/ir_clone.cpp