From 05ca446740fd5dee3372ae63735b0c40236b493a Mon Sep 17 00:00:00 2001 From: Rasmus Barringer Date: Thu, 24 Oct 2024 16:25:04 +0200 Subject: [PATCH] Move HitObject_SetShaderTableIndex --- proposals/NNNN-shader-execution-reordering.md | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/proposals/NNNN-shader-execution-reordering.md b/proposals/NNNN-shader-execution-reordering.md index 63ceeb24..fc3a47b0 100644 --- a/proposals/NNNN-shader-execution-reordering.md +++ b/proposals/NNNN-shader-execution-reordering.md @@ -1353,6 +1353,18 @@ declare float @dx.op.hitObject_StateMatrix.f32( nounwind readnone ``` +#### HitObject_SetShaderTableIndex + +Returns a HitObject with updated shader table index. + +```DXIL +declare %dx.types.HitObject @dx.op.hitObject_SetShaderTableIndex( + i32, ; opcode + %dx.types.HitObject, ; hit object + i32) ; record index + nounwind readnone +``` + #### HitObject_LoadLocalRootTableConstant Returns the root table constant for this HitObject and offset. @@ -1378,15 +1390,3 @@ declare void @dx.op.hitObject_Attributes.AttrT( ``` `AttrT` is the user-defined intersection attribute struct type. See `ReportHit` for definition. - -#### HitObject_SetShaderTableIndex - -Returns a HitObject with updated shader table index. - -```DXIL -declare %dx.types.HitObject @dx.op.hitObject_SetShaderTableIndex( - i32, ; opcode - %dx.types.HitObject, ; hit object - i32) ; record index - nounwind readnone -```