summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2017-12-11 08:38:46 -0600
committerTim Rowley <[email protected]>2017-12-15 10:56:36 -0600
commitca59b2e75ccb0de2ef7f72751a52b035d060d1bc (patch)
tree3db71264d0a074aceff50324f9a3b8cbf974f94e /src/gallium/drivers/swr
parent01a57c11cb7fe85196b9cb4b5a1555e6eb239297 (diff)
swr/rast: Remove no-op VBROADCAST of vID
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r--src/gallium/drivers/swr/rasterizer/jitter/fetch_jit.cpp4
1 files 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:
{