Mesa (master): swr/rast: Remove no-op VBROADCAST of vID
Tim Rowley
torowley at kemper.freedesktop.org
Fri Dec 15 17:15:37 UTC 2017
Module: Mesa
Branch: master
Commit: ca59b2e75ccb0de2ef7f72751a52b035d060d1bc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca59b2e75ccb0de2ef7f72751a52b035d060d1bc
Author: Tim Rowley <timothy.o.rowley at intel.com>
Date: Mon Dec 11 08:38:46 2017 -0600
swr/rast: Remove no-op VBROADCAST of vID
Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
---
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:
{
More information about the mesa-commit
mailing list