Ian Romanick
13f782c4ae
linker: Implement first bits of intrastage linking
...
This currently involves an ugly hack so that every link doesn't result
in all the built-in functions showing up as multiply defined. As soon
as the built-in functions are stored in a separate compilation unit,
ir_function_signature::is_built_in can be removed.
2010-07-12 18:51:55 -07:00
Ian Romanick
f3235eb37f
glsl2: Add utility function clone_ir_list
2010-07-12 15:19:29 -07:00
Ian Romanick
b500981226
glsl2: Implement ir_function::clone and ir_function_signature::clone
2010-07-12 15:19:29 -07:00
Ian Romanick
10d222b702
glsl2: Add missing fields in ir_variable::clone
2010-07-12 14:56:21 -07:00
Ian Romanick
ca088cc277
glsl2: Clone methods return the type of the thing being cloned
...
This is as opposed to returning the type of the base class of the hierarchy.
2010-07-06 17:44:37 -07:00
Kenneth Graunke
16efab1c4d
glsl2: Define new ir_discard instruction.
2010-06-30 14:54:58 -07:00
Eric Anholt
3d6012303c
glsl2: Wrap includes of C interfaces with extern "C".
2010-06-24 17:23:19 -07:00
Eric Anholt
2928588267
glsl2: Move the compiler to the subdirectory it will live in in Mesa.
2010-06-24 15:36:00 -07:00