swr/rast: Remove no-op VBROADCAST of vID
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 11 Dec 2017 14:38:46 +0000 (08:38 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Fri, 15 Dec 2017 16:56:36 +0000 (10:56 -0600)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp

index ec3b5eafccdbad34384eb32bd9c0c9e161dac348..1312ac000936603b2df90ee831e2e3f8d9095a7c 100644 (file)
@@ -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:
         {