Skip to content

Commit

Permalink
Move HitObject_SetShaderTableIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmusnv committed Oct 24, 2024
1 parent 414fb44 commit 05ca446
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions proposals/NNNN-shader-execution-reordering.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
```

0 comments on commit 05ca446

Please sign in to comment.