Skip to content

Commit ed9a285

Browse files
sys-igcigcbot
authored andcommitted
[Autobackout][FunctionalRegression]Revert of change: 185115e: Change polarity of RayQueryDynamicRayManagment opt flag/ail
Originally opt enabled by default but due to several func issues (game crashes) and minimal perf benefit plan is to disabled this opt by default (and enable via AIL if needed)
1 parent 12a6dd0 commit ed9a285

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

IGC/AdaptorCommon/RayTracing/RayTracingInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ void RayTracingInlineLowering(CodeGenContext* pContext)
145145
if (IGC_IS_FLAG_ENABLED(OverrideTMax))
146146
mpm.add(createOverrideTMaxPass(IGC_GET_FLAG_VALUE(OverrideTMax)));
147147

148-
if (pContext->platform.isDynamicRayQueryDynamicRayManagementMechanismEnabled() && pContext->getModuleMetaData()->compOpt.EnableDynamicRQManagement)
148+
if (pContext->platform.isDynamicRayQueryDynamicRayManagementMechanismEnabled() && !pContext->getModuleMetaData()->compOpt.DisableDynamicRQManagement)
149149
{
150150
mpm.add(CreateDynamicRayManagementPass());
151151
}

IGC/common/MDFrameWork.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ enum class ShaderTypeMD
474474
bool ForceLinearWalkOnLinearUAV = false;
475475
bool DisableLscSamplerRouting = false;
476476
bool UseBarrierControlFlowOptimization = false;
477-
bool EnableDynamicRQManagement = false;
477+
bool DisableDynamicRQManagement = false;
478478
unsigned Quad8InputThreshold = 0;
479479
bool UseResourceLoopUnrollNested = false;
480480
};

IGC/common/igc_flags.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,7 @@ DECLARE_IGC_GROUP("Raytracing Options")
10061006
DECLARE_IGC_REGKEY(bool, EnableRTPrintf, false, "Enable printf for ray tracing.", true)
10071007
DECLARE_IGC_REGKEY(DWORD, PrintfBufferSize, 0, "Set printf buffer size. Unit: KB.", true)
10081008
DECLARE_IGC_REGKEY(bool, DisableRayQueryReturnOptimization, false, "RayQuery Return Optimization", true)
1009-
DECLARE_IGC_REGKEY(bool, DisableRayQueryDynamicRayManagementMechanism, true, "Dynamic ray management mechanism for Synchronous Ray Tracing", true)
1009+
DECLARE_IGC_REGKEY(bool, DisableRayQueryDynamicRayManagementMechanism, false, "Dynamic ray management mechanism for Synchronous Ray Tracing", true)
10101010
DECLARE_IGC_REGKEY(bool, DisableRayQueryDynamicRayManagementMechanismForExternalFunctionsCalls, false, "Disable dynamic ray management mechanism for shaders with external functions calls", true)
10111011
DECLARE_IGC_REGKEY(bool, DisableRayQueryDynamicRayManagementMechanismForBarriers, false, "Disable dynamic ray management mechanism for shaders with barriers", true)
10121012
DECLARE_IGC_REGKEY(bool, EnableOuterLoopHoistingForRayQueryDynamicRayManagementMechanism, false, "Disable dynamic ray management mechanism for shaders with barriers", true)

0 commit comments

Comments
 (0)