Skip to content

Commit ccbc7bf

Browse files
scottp101igcbot
authored andcommitted
erase ConvertRayQueryHandleToRTStackPointer
erase ConvertRayQueryHandleToRTStackPointer
1 parent 434b72e commit ccbc7bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

IGC/AdaptorCommon/RayTracing/TraceRayInlineLoweringPass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ void TraceRayInlineLoweringPass::LowerAllocateRayQuery(
209209
builder.SetInsertPoint(I);
210210
auto* rtstack = getShMemRayQueryRTStack(builder, I->getRayQueryAllocationHandle());
211211
I->replaceAllUsesWith(rtstack);
212+
I->eraseFromParent();
212213
}
213214
}
214215

0 commit comments

Comments
 (0)