llvmpipe: Use two LLVMContexts per OpenGL context instead of a global one.
[mesa.git] / src / gallium / drivers / llvmpipe / lp_context.h
index ee0831fbb6d438ec2247d0d0e2d8a10158c9513f..0d47c0d517cede0a12bb80966f849da6f64ac0aa 100644 (file)
@@ -153,6 +153,9 @@ struct llvmpipe_context {
    struct pipe_query *render_cond_query;
    uint render_cond_mode;
    boolean render_cond_cond;
+
+   /** The LLVMContext to use for LLVM related work */
+   LLVMContextRef context;
 };