Mesa (master): swr: [rasterizer jitter] add mSimdInt1Ty

Tim Rowley torowley at kemper.freedesktop.org
Wed Apr 27 15:43:25 UTC 2016


Module: Mesa
Branch: master
Commit: 8e815ff72cda0648496c683931eaeacd679f1107
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e815ff72cda0648496c683931eaeacd679f1107

Author: Tim Rowley <timothy.o.rowley at intel.com>
Date:   Wed Apr 20 15:57:52 2016 -0600

swr: [rasterizer jitter] add mSimdInt1Ty

Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>

---

 src/gallium/drivers/swr/rasterizer/jitter/builder.cpp | 1 +
 src/gallium/drivers/swr/rasterizer/jitter/builder.h   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder.cpp b/src/gallium/drivers/swr/rasterizer/jitter/builder.cpp
index 757ea3f..01468c4 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/builder.cpp
+++ b/src/gallium/drivers/swr/rasterizer/jitter/builder.cpp
@@ -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);
diff --git a/src/gallium/drivers/swr/rasterizer/jitter/builder.h b/src/gallium/drivers/swr/rasterizer/jitter/builder.h
index 239ef2a..ddc32f4 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/builder.h
+++ b/src/gallium/drivers/swr/rasterizer/jitter/builder.h
@@ -61,6 +61,7 @@ struct Builder
     Type*                mInt32PtrTy;
     Type*                mSimdFP16Ty;
     Type*                mSimdFP32Ty;
+    Type*                mSimdInt1Ty;
     Type*                mSimdInt16Ty;
     Type*                mSimdInt32Ty;
     Type*                mSimdInt64Ty;




More information about the mesa-commit mailing list