Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions proposals/0027-shader-execution-reordering.md
Original file line number Diff line number Diff line change
Expand Up @@ -564,14 +564,14 @@ Returns 0 if the `HitObject` does not encode a hit.

```C++
template<attr_t>
attr_t dx::HitObject::GetAttributes();
void dx::HitObject::GetAttributes(out attr_t Attributes);
```

Returns the attributes of a hit. `attr_t` must match the committed
Stores the committed attributes to `Attributes`. `attr_t` must match the committed
attributes’ type regardless of whether they were committed by an intersection
shader, fixed function logic, or using `HitObject::FromRayQuery`.

If the `HitObject` does not encode a hit, the returned value will be
If the `HitObject` does not encode a hit, `Attributes` will be
zero-initialized. The size of `attr_t` must not exceed
`MaxAttributeSizeInBytes` specified in the `D3D12_RAYTRACING_SHADER_CONFIG`.

Expand Down