Skip to content

Commit 45b8705

Browse files
houjenkoigcbot
authored andcommitted
[Autobackout][FuncReg]Revert of change: 1499e78
[IGC][CodePatch] Enable code patching by default CodePatch=2
1 parent 8525567 commit 45b8705

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IGC/common/igc_flags.def

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,10 @@ DECLARE_IGC_REGKEY(bool, StagedCompilation, false, "Enable staged co
410410
DECLARE_IGC_REGKEY(bool, EnableTrackPtr, false, "Track Staging Context alloc/dealloc", false)
411411
DECLARE_IGC_REGKEY(bool, ExtraRetrySIMD16, false, "Enable extra simd16 with retry for STAGE1_BEST_PREF", false)
412412
DECLARE_IGC_REGKEY(bool, SaveRestoreIR, true, "Save/Restore IR for staged compilation to avoid duplicated compilations", false)
413-
DECLARE_IGC_REGKEY(DWORD, CodePatch, 2, "Enable Pixel Shader code patching to directly emit code after stitching", false)
413+
DECLARE_IGC_REGKEY(DWORD, CodePatch, 0, "Enable Pixel Shader code patching to directly emit code after stitching", false)
414414
DECLARE_IGC_REGKEY(DWORD, CodePatchLimit, 0, "Debug CodePatch via limiting the number of shader been patched", false)
415415
DECLARE_IGC_REGKEY(DWORD, CodePatchExperiments, 0, "Experiment with code patching when != 0", false)
416-
DECLARE_IGC_REGKEY(bool, CodePatchWA, false, "WA bugs from other components", false)
416+
DECLARE_IGC_REGKEY(bool, CodePatchWA, true, "WA bugs from other components", false)
417417
DECLARE_IGC_REGKEY(DWORD, FirstStagedSIMD, 0, "Force Pixel shader to be 1: FastSIMD (SIMD8), 2: BestSIMD (SIMD16 or SIMD8), 3: FatestSIMD (SIMD8 opt off)", false)
418418
DECLARE_IGC_REGKEY(DWORD, FastestS1Experiments, 0, "Select configs for fastest compilation by bits.", false)
419419
DECLARE_IGC_REGKEY(bool, ForceFastestSIMD, false, "Force pixel shader to return SIMD8 as fast as possible.", false)

0 commit comments

Comments
 (0)