File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -4589,8 +4589,7 @@ void EmitPass::emitLdInstruction(llvm::Instruction* inst)
4589
4589
m_currShader->m_Platform->supportSampleAndLd_lz())
4590
4590
{
4591
4591
// Check if lod is 0
4592
- CVariable* src =
4593
- GetSymbol(inst->getOperand(2));
4592
+ CVariable* src = GetSymbol(inst->getOperand(2));
4594
4593
if (src->IsImmediate() && src->GetImmediateValue() == 0)
4595
4594
{
4596
4595
zeroLOD = true;
@@ -4607,8 +4606,7 @@ void EmitPass::emitLdInstruction(llvm::Instruction* inst)
4607
4606
{
4608
4607
index = CorrectLdIndex(i, m_currShader->m_Platform->hasOldLdOrder());
4609
4608
}
4610
- if (zeroLOD &&
4611
- index == 2)
4609
+ if (zeroLOD && index == 2)
4612
4610
{
4613
4611
//3D resources skip lod and read z coordinate
4614
4612
index = 3;
You can’t perform that action at this time.
0 commit comments