r300g: fix texturing with negative lod bias
[mesa.git] / src / gallium / drivers / llvmpipe / lp_screen.h
index f4e62cbf08eb796a287528c7f0d5f78dcda13ade..eb40f6823f5f946be6fa686022f27a96abf7a304 100644 (file)
@@ -34,9 +34,7 @@
 #ifndef LP_SCREEN_H
 #define LP_SCREEN_H
 
-#include <llvm-c/Core.h>
-#include <llvm-c/Analysis.h>
-#include <llvm-c/Target.h>
+#include "gallivm/lp_bld.h"
 #include <llvm-c/ExecutionEngine.h>
 
 #include "pipe/p_screen.h"
@@ -60,10 +58,11 @@ struct llvmpipe_screen
 
    LLVMTypeRef context_ptr_type;
 
-   /* Increments whenever textures are modified.  Contexts can track
-    * this.
+   unsigned num_threads;
+
+   /* Increments whenever textures are modified.  Contexts can track this.
     */
-   unsigned timestamp;          
+   unsigned timestamp;
 };