Skip to content

Commit e3701b2

Browse files
JaroszPiotrigcbot
authored andcommitted
Minor refactor
Minor refactor
1 parent 474fac8 commit e3701b2

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

IGC/AdaptorCommon/RayTracing/RTBuilder.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1932,6 +1932,7 @@ Value* RTBuilder::syncStackToShadowMemory(
19321932
Value* ProceedReturnVal,
19331933
Value* ShadowMemRTCtrlPtr)
19341934
{
1935+
19351936
switch (getMemoryStyle())
19361937
{
19371938
#define STYLE(X) \

IGC/AdaptorCommon/RayTracing/TraceRayInlineLoweringPass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class TraceRayInlineLoweringPass : public FunctionPass
116116
char TraceRayInlineLoweringPass::ID = 0;
117117

118118
// Register pass to igc-opt
119-
#define PASS_FLAG "tracerayinline-lowering"
119+
#define PASS_FLAG "igc-tracerayinline-lowering-pass"
120120
#define PASS_DESCRIPTION "Lower tracerayinline intrinsics"
121121
#define PASS_CFG_ONLY false
122122
#define PASS_ANALYSIS false

IGC/Compiler/CISACodeGen/EmitVISAPass.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24157,7 +24157,6 @@ void EmitPass::emitTraceRay(TraceRayIntrinsic* I, bool RayQueryEnable)
2415724157
(m_currShader->m_SIMDSize == SIMDMode::SIMD32
2415824158
) ? 2 : 1;
2415924159

24160-
2416124160
for (uint32_t Cnt = 0; Cnt < NumSend; Cnt++)
2416224161
{
2416324162
// 'payload' contains bvhLevel, traceRayCtrl, and stackID as per
@@ -24297,7 +24296,6 @@ void EmitPass::emitTraceRay(TraceRayIntrinsic* I, bool RayQueryEnable)
2429724296
}
2429824297
}
2429924298

24300-
2430124299
m_encoder->Sends(
2430224300
Dst,
2430324301
header,
@@ -24308,7 +24306,6 @@ void EmitPass::emitTraceRay(TraceRayIntrinsic* I, bool RayQueryEnable)
2430824306
false);
2430924307

2431024308
m_encoder->Push();
24311-
2431224309
}
2431324310

2431424311
// Insert a software fence after the send.rta so no IO operations get

0 commit comments

Comments
 (0)