From ca59b2e75ccb0de2ef7f72751a52b035d060d1bc Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Mon, 11 Dec 2017 08:38:46 -0600 Subject: [PATCH] swr/rast: Remove no-op VBROADCAST of vID Reviewed-by: Bruce Cherniak --- 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 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: { -- 2.30.2