Skip to content

Commit 0439d0b

Browse files
MaciejKalinskiigcbot
authored andcommitted
Trivial refactoring
Trivial refactoring
1 parent e9a3add commit 0439d0b

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

IGC/Compiler/CISACodeGen/Platform.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,7 @@ unsigned forceQwAtSrc0ForQwShlWA() const
13071307
// PVC XT A0: RevID==0X3==REVISION_B
13081308
return (m_platformInfo.eProductFamily == IGFX_PVC && m_platformInfo.usRevId == REVISION_B);
13091309
}
1310+
13101311
};
13111312

13121313
}//namespace IGC

IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,6 @@ static void AddLegalizationPasses(CodeGenContext& ctx, IGCPassManager& mpm, PSSi
386386

387387
// update type of instructions to know what passes are needed.
388388
UpdateInstTypeHint(ctx);
389-
390389
// check again after full inlining if subroutines are still present
391390
ctx.CheckEnableSubroutine(*ctx.getModule());
392391

@@ -445,6 +444,7 @@ static void AddLegalizationPasses(CodeGenContext& ctx, IGCPassManager& mpm, PSSi
445444
initializeGenXFunctionGroupAnalysisPass(*PassRegistry::getPassRegistry());
446445

447446

447+
448448
if (ctx.type == ShaderType::PIXEL_SHADER)
449449
{
450450
mpm.add(new DiscardLowering());

IGC/common/igc_flags.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ DECLARE_IGC_REGKEY(bool, DPASReadSuppressionWA, true, "Enable read suppressio
300300
DECLARE_IGC_REGKEY(DWORD, RSWARegNum, 0, "dummy register used for EnablerReadSuppressionWA", false)
301301
DECLARE_IGC_REGKEY(bool, EnableDivergentBarrierCheck, false, "Uses WIAnalysis to find barriers in divergent flow control. May have false positives.", false)
302302
DECLARE_IGC_REGKEY(bool, EnableBitcastExtractInsertPattern, true, "Enable BitcastExtractInsertPattern in CustomSafeOptPass.", true)
303+
303304
DECLARE_IGC_GROUP("Shader dumping")
304305
DECLARE_IGC_REGKEY(bool, EnableCosDump, false, "Enable cos dump", true)
305306
DECLARE_IGC_REGKEY(bool, EnableCisDump, false, "Enable cis dump", true)

0 commit comments

Comments
 (0)