microsoft / DirectX-Specs

Engineering specs for DirectX features.

Home Page:https://devblogs.microsoft.com/directx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

d3d/Raytracing.md: clarify width of MultiplierForGeometryContributionToHitGroupIndex in TraceRay

winterismute opened this issue · comments

commented

The text of MultiplierForGeometryContributionToHitGroupIndex in TraceRay says:

[...] Only the bottom 4 bits of this multiplier value are used.

However, the dx12 doc page for TraceRay says about the same field:

[...] Only the bottom 16 bits of this multiplier value are used.

How many bits are then considered for the calculation?

Additionally, in the github repo the table names it MultiplierForGeometryContributionToShaderIndex instead of MultiplierForGeometryContributionToHitGroupIndex.