draw: hack around weird primitive id input in gs
[mesa.git] / src / gallium / auxiliary / gallivm / lp_bld_init.h
index e405b8a0e609b9d9a5fb946d477bbe9a3ce91ec7..2e32cf8b077f4eca49b34a84880a7cbdcc7d4366 100644 (file)
@@ -54,11 +54,13 @@ lp_build_init(void);
 
 
 struct gallivm_state *
-gallivm_create(void);
+gallivm_create(const char *name);
 
 void
 gallivm_destroy(struct gallivm_state *gallivm);
 
+void
+gallivm_free_ir(struct gallivm_state *gallivm);
 
 void
 gallivm_verify_function(struct gallivm_state *gallivm,
@@ -71,11 +73,6 @@ func_pointer
 gallivm_jit_function(struct gallivm_state *gallivm,
                      LLVMValueRef func);
 
-void
-gallivm_free_function(struct gallivm_state *gallivm,
-                      LLVMValueRef func,
-                      const void * code);
-
 void
 lp_set_load_alignment(LLVMValueRef Inst,
                        unsigned Align);