Implement the AcceptHitAndEndSearch
HLSL Function
#99182
Labels
backend:DirectX
backend:SPIR-V
bot:HLSL
HLSL
HLSL Language Support
metabug
Issue to collect references to a group of similar or related issues.
AcceptHitAndEndSearch
clang builtin,AcceptHitAndEndSearch
clang builtin withhlsl_intrinsics.h
AcceptHitAndEndSearch
toCheckHLSLBuiltinFunctionCall
inSemaChecking.cpp
AcceptHitAndEndSearch
toEmitHLSLBuiltinExpr
inCGBuiltin.cpp
clang/test/CodeGenHLSL/builtins/AcceptHitAndEndSearch.hlsl
clang/test/SemaHLSL/BuiltIns/AcceptHitAndEndSearch-errors.hlsl
int_dx_AcceptHitAndEndSearch
intrinsic inIntrinsicsDirectX.td
DXILOpMapping
ofint_dx_AcceptHitAndEndSearch
to156
inDXIL.td
AcceptHitAndEndSearch.ll
andAcceptHitAndEndSearch_errors.ll
tests inllvm/test/CodeGen/DirectX/
int_spv_AcceptHitAndEndSearch
intrinsic inIntrinsicsSPIRV.td
AcceptHitAndEndSearch
lowering and map it toint_spv_AcceptHitAndEndSearch
inSPIRVInstructionSelector::selectIntrinsic
.llvm/test/CodeGen/SPIRV/hlsl-intrinsics/AcceptHitAndEndSearch.ll
DirectX
SPIR-V
OpTerminateRayKHR:
Description:
Reserved.
Capability:
RayTracingKHR
Reserved.
Test Case(s)
Example 1
SPIRV Example(s):
Example 2
HLSL:
Used in an any hit shader to commit the current hit and then stop searching for more hits for the ray. If there is an intersection shader running, it's execution stops. Execution passes to the closest hit shader, if enabled, with the closest hit recorded so far.
Syntax
Return Value
void
Remarks
This function can be called from the following raytracing shader types:
See also
The text was updated successfully, but these errors were encountered: