[Mesa-dev] [PATCH 14/20] swr/rast: Remove no-op VBROADCAST of vID

Tim Rowley timothy.o.rowley at intel.com
Thu Dec 14 21:34:54 UTC 2017


---
 src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp b/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp
index ec3b5eafcc..1312ac0009 100644
--- a/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp
+++ b/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp
@@ -3101,7 +3101,7 @@ Value* FetchJit::GenerateCompCtrlVector(const ComponentControl ctrl)
 #else
             Value* pId = BITCAST(LOAD(GEP(mpFetchInfo, { 0, SWR_FETCH_CONTEXT_VertexID })), mSimdFP32Ty);
 #endif
-            return VBROADCAST(pId);
+            return pId;
         }
         case StoreInstanceId:
         {
@@ -3129,7 +3129,7 @@ Value* FetchJit::GenerateCompCtrlVector2(const ComponentControl ctrl)
 
             Value *pId = JOIN2(pId_lo, pId_hi);
 
-            return VBROADCAST2(pId);
+            return pId;
         }
         case StoreInstanceId:
         {
-- 
2.14.1



More information about the mesa-dev mailing list