swr/rasterizer: modernize thread TLB
[mesa.git] / src / gallium / drivers / swr / rasterizer / jitter / builder.h
index a047f2a065fef42ca5f6991386d8bca9d3202e18..9f2c199464da5ae07441aab997e9988c52b41d68 100644 (file)
@@ -55,6 +55,9 @@ namespace SwrJit
         STATS_STORE_TGSM              = 15,
         STATS_DISCARD                 = 16,
         STATS_BARRIER                 = 17,
+
+        // ------------------
+        STATS_TOTAL_COUNTERS
     };
 
     using namespace llvm;
@@ -75,6 +78,7 @@ namespace SwrJit
         // Built in types: scalar
 
         Type* mVoidTy;
+        Type* mHandleTy;
         Type* mInt1Ty;
         Type* mInt8Ty;
         Type* mInt16Ty;
@@ -88,6 +92,7 @@ namespace SwrJit
         Type* mInt8PtrTy;
         Type* mInt16PtrTy;
         Type* mInt32PtrTy;
+        Type* mInt64PtrTy;
 
         Type* mSimd4FP64Ty;
 
@@ -103,6 +108,7 @@ namespace SwrJit
         Type* mSimdVectorTy;
         Type* mSimdVectorTRTy;
         Type* mSimdVectorIntTy;
+        Type* mSimdVectorTRIntTy;
 
         // Built in types: simd16
 
@@ -161,7 +167,6 @@ namespace SwrJit
 #include "builder_math.h"
 #include "builder_mem.h"
 
-    protected:
         void SetPrivateContext(Value* pPrivateContext)
         {
             mpPrivateContext = pPrivateContext;