We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6ac36f commit bb20387Copy full SHA for bb20387
IGC/Compiler/CISACodeGen/CShader.cpp
@@ -1174,6 +1174,15 @@ void CShader::GetSimdOffsetBase(CVariable*& pVar)
1174
encoder.Add(pVar, pVar, ImmToVariable(16, ISA_TYPE_W));
1175
encoder.Push();
1176
}
1177
+ else if (m_SIMDSize == SIMDMode::SIMD32)
1178
+ {
1179
+ // (W) add (16) V1(16) V1(0) 16:w
1180
+ encoder.SetSimdSize(SIMDMode::SIMD16);
1181
+ encoder.SetNoMask();
1182
+ encoder.SetDstSubReg(16);
1183
+ encoder.Add(pVar, pVar, ImmToVariable(16, ISA_TYPE_W));
1184
+ encoder.Push();
1185
+ }
1186
1187
1188
CVariable* CShader::GetPerLaneOffsetsReg(uint typeSizeInBytes)
0 commit comments