Skip to content

Commit 775a850

Browse files
MaciejKalinskiigcbot
authored andcommitted
Trivial refactoring
Trivial refactoring
1 parent 93738b8 commit 775a850

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IGC/Compiler/CISACodeGen/PixelShaderCodeGen.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ CVariable* CPixelShader::GetInputDelta(uint index, bool loweredInput)
562562
{
563563
if (index % 2 == 0)
564564
{
565-
inputVar = GetNewVariable(8, ISA_TYPE_F, EALIGN_GRF, true, CName::NONE);
565+
inputVar = GetNewVariable(8, ISA_TYPE_F, EALIGN_GRF, true, "InputDelta" + std::to_string(index));
566566
setup[index + 1] = GetNewAlias(inputVar, ISA_TYPE_F, 16, 4);
567567
}
568568
else
@@ -572,7 +572,7 @@ CVariable* CPixelShader::GetInputDelta(uint index, bool loweredInput)
572572
}
573573
else
574574
{
575-
inputVar = GetNewVariable(4, ISA_TYPE_F, EALIGN_OWORD, true, CName::NONE);
575+
inputVar = GetNewVariable(4, ISA_TYPE_F, EALIGN_OWORD, true, "InputDelta" + std::to_string(index));
576576
}
577577
setup[index] = inputVar;
578578
}

0 commit comments

Comments
 (0)