Implement the ObjectToWorld4x3
HLSL Function
#99199
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.
ObjectToWorld4x3
clang builtin,ObjectToWorld4x3
clang builtin withhlsl_intrinsics.h
ObjectToWorld4x3
toCheckHLSLBuiltinFunctionCall
inSemaChecking.cpp
ObjectToWorld4x3
toEmitHLSLBuiltinExpr
inCGBuiltin.cpp
clang/test/CodeGenHLSL/builtins/ObjectToWorld4x3.hlsl
clang/test/SemaHLSL/BuiltIns/ObjectToWorld4x3-errors.hlsl
int_dx_ObjectToWorld4x3
intrinsic inIntrinsicsDirectX.td
DXILOpMapping
ofint_dx_ObjectToWorld4x3
to151
inDXIL.td
ObjectToWorld4x3.ll
andObjectToWorld4x3_errors.ll
tests inllvm/test/CodeGen/DirectX/
int_spv_ObjectToWorld4x3
intrinsic inIntrinsicsSPIRV.td
ObjectToWorld4x3
lowering and map it toint_spv_ObjectToWorld4x3
inSPIRVInstructionSelector::selectIntrinsic
.llvm/test/CodeGen/SPIRV/hlsl-intrinsics/ObjectToWorld4x3.ll
DirectX
SPIR-V
ObjectToWorldKHR
Short Description
ObjectToWorldKHR - Transformation matrix from object to world space
Description
ObjectToWorldKHR
A variable decorated with the
ObjectToWorldKHR
decoration willcontain the current object-to-world transformation matrix, which is
determined by the instance of the current intersection.
Valid Usage
VUID-ObjectToWorldKHR-ObjectToWorldKHR-04305
The
ObjectToWorldKHR
decoration must be used only within theIntersectionKHR
,AnyHitKHR
, orClosestHitKHR
Execution
Model
VUID-ObjectToWorldKHR-ObjectToWorldKHR-04306
The variable decorated with
ObjectToWorldKHR
must be declaredusing the
Input
Storage
Class
VUID-ObjectToWorldKHR-ObjectToWorldKHR-04307
The variable decorated with
ObjectToWorldKHR
must be declaredas a matrix with four columns of three-component vectors of 32-bit
floating-point values
Test Case(s)
Example 1
SPIRV Example(s):
Example 2
HLSL:
A matrix for transforming from object-space to world-space. Object-space refers to the space of the current bottom-level acceleration structure.
Syntax
Remarks
The matrix is a transposition of ObjectToWorld3x4 matrix.
This function can be called from the following raytracing shader types:
See also
Direct3D 12 Raytracing HLSL Reference
The text was updated successfully, but these errors were encountered: