We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfac18b commit dd8c721Copy full SHA for dd8c721
1 file changed
IGC/Compiler/CISACodeGen/EmitVISAPass.cpp
@@ -4589,8 +4589,7 @@ void EmitPass::emitLdInstruction(llvm::Instruction* inst)
4589
m_currShader->m_Platform->supportSampleAndLd_lz())
4590
{
4591
// Check if lod is 0
4592
- CVariable* src =
4593
- GetSymbol(inst->getOperand(2));
+ CVariable* src = GetSymbol(inst->getOperand(2));
4594
if (src->IsImmediate() && src->GetImmediateValue() == 0)
4595
4596
zeroLOD = true;
@@ -4607,8 +4606,7 @@ void EmitPass::emitLdInstruction(llvm::Instruction* inst)
4607
4606
4608
index = CorrectLdIndex(i, m_currShader->m_Platform->hasOldLdOrder());
4609
}
4610
- if (zeroLOD &&
4611
- index == 2)
+ if (zeroLOD && index == 2)
4612
4613
//3D resources skip lod and read z coordinate
4614
index = 3;
0 commit comments