@@ -39,25 +39,25 @@ RDOC_CONFIG(bool, D3D12_DXILShaderDebugger_EnableMT, true,
3939RDOC_DEBUG_CONFIG (bool , D3D12_Hack_ShaderDebugUsesJobSystemJobs, false ,
4040 " Use individual job system jobs to run shader debugging simulation." );
4141
42- #if defined(RELEASE )
42+ #if ENABLED(RDOC_RELEASE )
4343#define CHECK_DEBUGGER_THREAD () \
4444 do \
4545 { \
4646 } while ((void )0 , 0 )
4747#else
4848#define CHECK_DEBUGGER_THREAD () \
4949 RDCASSERTMSG (" Debugger function called from non-device thread!" , IsDeviceThread());
50- #endif // #if defined(RELEASE )
50+ #endif // #if ENABLED(RDOC_RELEASE )
5151
52- #if defined(RELEASE )
52+ #if ENABLED(RDOC_RELEASE )
5353#define THREADSTATE_CHECK_DEBUGGER_THREAD () \
5454 do \
5555 { \
5656 } while ((void )0 , 0 )
5757#else
5858#define THREADSTATE_CHECK_DEBUGGER_THREAD () \
5959 RDCASSERTMSG (" Function called from non-debugger thread!" , m_Debugger.IsDeviceThread());
60- #endif // #if defined(RELEASE )
60+ #endif // #if ENABLED(RDOC_RELEASE )
6161
6262using namespace rdcshaders ;
6363
@@ -10112,15 +10112,15 @@ rdcarray<ShaderDebugState> Debugger::ContinueDebug()
1011210112 continue ;
1011310113
1011410114 const rdcarray<ThreadReference> &threadRefs = tangle.GetThreadRefs ();
10115- #if !defined(RELEASE )
10115+ #if ENABLED(RDOC_DEVEL )
1011610116 for (const ThreadReference &ref : threadRefs)
1011710117 {
1011810118 const uint32_t threadId = ref.id ;
1011910119 const uint32_t lane = threadId;
1012010120 ThreadState &thread = m_Workgroup[lane];
1012110121 RDCASSERT (!thread.IsSimulationStepActive ());
1012210122 }
10123- #endif // #if !defined(RELEASE )
10123+ #endif // #if ENABLED(RDOC_DEVEL )
1012410124
1012510125 const DXIL::BlockArray *newPartialConvergentPoints = NULL ;
1012610126 ExecutionPoint newConvergencePoint = INVALID_EXECUTION_POINT;
0 commit comments