Open farzonl opened 4 days ago
@EugeneZelenko These bugs were created via automation. There are going to be about 160+ of these coming in. This first run was just a test. Would you like me to add the metabug
label to all the issues created by the bot?
@farzonl: metabug
label should be used for issues that are used for tracking multiple issues, so bot could apply the label to such issues.
InstanceID
clang builtin,InstanceID
clang builtin withhlsl_intrinsics.h
InstanceID
toCheckHLSLBuiltinFunctionCall
inSemaChecking.cpp
InstanceID
toEmitHLSLBuiltinExpr
inCGBuiltin.cpp
clang/test/CodeGenHLSL/builtins/InstanceID.hlsl
clang/test/SemaHLSL/BuiltIns/InstanceID-errors.hlsl
int_dx_InstanceID
intrinsic inIntrinsicsDirectX.td
DXILOpMapping
ofint_dx_InstanceID
to141
inDXIL.td
InstanceID.ll
andInstanceID_errors.ll
tests inllvm/test/CodeGen/DirectX/
int_spv_InstanceID
intrinsic inIntrinsicsSPIRV.td
InstanceID
lowering and map it toint_spv_InstanceID
inSPIRVInstructionSelector::selectIntrinsic
.llvm/test/CodeGen/SPIRV/hlsl-intrinsics/InstanceID.ll
DirectX
SPIR-V
See https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/InstanceCustomIndexKHR.html
Test Case(s)
Example 1
SPIRV Example(s):
Example 2
HLSL:
The user-provided identifier for the instance on the bottom-level acceleration structure instance within the top-level structure.
Syntax
Remarks
This function can be called from the following raytracing shader types:
See also