Merge branch '7.8'
[mesa.git] / src / gallium / auxiliary / draw / draw_private.h
index 3fe3dc519d4225cdcb0f8c1b8880440eaf2de7dd..e250b3a1d5af299fac5e8a62e3b4bc23232c88f5 100644 (file)
 
 #include "tgsi/tgsi_scan.h"
 
+#ifdef HAVE_LLVM
+#include <llvm-c/ExecutionEngine.h>
+#endif
+
 
 struct pipe_context;
 struct draw_vertex_shader;
@@ -245,9 +249,16 @@ struct draw_context
 
    unsigned instance_id;
 
+#ifdef HAVE_LLVM
+   LLVMExecutionEngineRef engine;
+#endif
    void *driver_private;
 };
 
+/*******************************************************************************
+ * Draw common initialization code
+ */
+boolean draw_init(struct draw_context *draw);
 
 /*******************************************************************************
  * Vertex shader code: