glsl: Properly add functions during lazy built-in prototype importing.
[mesa.git] / src / glsl / glsl_symbol_table.h
index 329cd106b14fb25ea95977d2fcf419314a2f4b29..28a44ebe91c24fa065755136f1bfd30d1efad338 100644 (file)
@@ -102,6 +102,11 @@ public:
    bool add_function(ir_function *f);
    /*@}*/
 
+   /**
+    * Add an function at global scope without checking for scoping conflicts.
+    */
+   void add_global_function(ir_function *f);
+
    /**
     * \name Methods to get symbols from the table
     */