From: Tim Rowley Date: Mon, 11 Dec 2017 14:38:46 +0000 (-0600) Subject: swr/rast: Remove no-op VBROADCAST of vID X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca59b2e75ccb0de2ef7f72751a52b035d060d1bc;p=mesa.git swr/rast: Remove no-op VBROADCAST of vID Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp b/src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp index ec3b5eafccd..1312ac00093 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: {