swr: [rasterizer jitter] add mSimdInt1Ty
authorTim Rowley <timothy.o.rowley@intel.com>
Wed, 20 Apr 2016 21:57:52 +0000 (15:57 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Wed, 27 Apr 2016 15:41:12 +0000 (10:41 -0500)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/builder.cpp
src/gallium/drivers/swr/rasterizer/jitter/builder.h

index 757ea3fe39ca07ce077f8682dfaf34564663dae4..01468c48eedc950a16412f1cc5be03b6034ebe86 100644 (file)
@@ -56,6 +56,7 @@ Builder::Builder(JitManager *pJitMgr)
     mInt64Ty = Type::getInt64Ty(pJitMgr->mContext);
     mV4FP32Ty = StructType::get(pJitMgr->mContext, std::vector<Type*>(4, mFP32Ty), false); // vector4 float type (represented as structure)
     mV4Int32Ty = StructType::get(pJitMgr->mContext, std::vector<Type*>(4, mInt32Ty), false); // vector4 int type
+    mSimdInt1Ty = VectorType::get(mInt1Ty, mVWidth);
     mSimdInt16Ty = VectorType::get(mInt16Ty, mVWidth);
     mSimdInt32Ty = VectorType::get(mInt32Ty, mVWidth);
     mSimdInt64Ty = VectorType::get(mInt64Ty, mVWidth);
index 239ef2ab49fa3b4ea4d9342b832a7b44c4ba151a..ddc32f432c99df7045696274f67e3aba507ecbbd 100644 (file)
@@ -61,6 +61,7 @@ struct Builder
     Type*                mInt32PtrTy;
     Type*                mSimdFP16Ty;
     Type*                mSimdFP32Ty;
+    Type*                mSimdInt1Ty;
     Type*                mSimdInt16Ty;
     Type*                mSimdInt32Ty;
     Type*                mSimdInt64Ty;