Commit c37eb905 authored by Lu, Jiewu's avatar Lu, Jiewu Committed by gbsbuild

Refactor code

Change-Id: Ie9efea124c8f0842e13d2ae1c3591b11382c65ab
parent 738dedda
......@@ -8984,16 +8984,16 @@ void EmitPass::emitStore3DInner(Value *pllValToStore, Value *pllDstPtr, Value *p
}
else
{
// using byte scatter
uint elementSize = 8;
uint numElems = 4;
setPredicateForDiscard();
m_encoder->ByteScatter(
storedVal,
resource,
ptr,
elementSize,
numElems);
// using byte scatter
uint elementSize = 8;
uint numElems = 4;
setPredicateForDiscard();
m_encoder->ByteScatter(
storedVal,
resource,
ptr,
elementSize,
numElems);
m_encoder->Push();
}
}
......@@ -12798,7 +12798,7 @@ void EmitPass::emitVectorLoad(LoadInst* inst, Value* offset)
{
m_encoder->SetNoMask();
m_encoder->SetUniformSIMDSize(simdmode);
m_encoder->ByteGather(gatherDst, resource, gatherOff, blkBits, nBlks);
m_encoder->ByteGather(gatherDst, resource, gatherOff, blkBits, nBlks);
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment