Skip to content

Commit 6f6b47a

Browse files
dlei6gigcbot
authored andcommitted
Internal Changes
Internal Changes
1 parent fd8a78e commit 6f6b47a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

IGC/common/igc_flags.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,10 @@ DECLARE_IGC_GROUP("Raytracing Options")
907907
DECLARE_IGC_REGKEY(bool, EnableSyncDispatchRays, false, "Enable sync DispatchRays implementation", false)
908908
DECLARE_IGC_REGKEY(bool, ForceIndirectCallsInSyncDispatchRays, false, "Will skip direct calls in synchronous raytracing and immediately call raytracing shaders via KSP shader ptr", false)
909909
DECLARE_IGC_REGKEY(bool, ForceRTRetry, false, "Raytracing is compiled in the second retry state", false)
910-
DECLARE_IGC_REGKEY(bool, AllowRTRetryPickBetter, false, "Allows raytracing retry to pick the best compilation instead of always using the retry compilation.", false)
910+
DECLARE_IGC_REGKEY(bool, DisableRTRetryPickBetter, true, "Disables raytracing retry to pick the best compilation instead of always using the retry compilation.", false)
911+
DECLARE_IGC_REGKEY(DWORD, RetryRTSpillMemThreshold, 200, "Only retry if spill mem used is more than this value", false)
912+
DECLARE_IGC_REGKEY(DWORD, RetryRTSpillCostThreshold, 5, "Only retry if the percentage of spills (over total instructions) is more than this value", false)
913+
DECLARE_IGC_REGKEY(DWORD, RetryRTPickBetterThreshold, 10, "Only pick the retry shader if the spill cost of the 2nd compilation is at least this percentage better than the previous compilation", false)
911914
DECLARE_IGC_REGKEY(bool, EnableFillScheduling, false, "Schedule fills for reduced register pressure", false)
912915
DECLARE_IGC_REGKEY(bool, DisableSWStackOffsetElision, false, "Avoid loading offseting when known at compile-time", false)
913916
DECLARE_IGC_REGKEY_ENUM(RTMemoryStyleOptions, -1, "Select layout of RT memory", RTMEMORY_STYLE_OPTIONS, true)

0 commit comments

Comments
 (0)