Skip to content

[SM6.10] LinAlg: InterlockedAccumulate has extra params for thread scope #8360

@tex3d

Description

@tex3d

Description
Thread scope InterlockedAccumulate is only allowed with OuterProductOptimal layout. Therefore, Stride and Layout parameters are extraneous in the HLSL API.

See related spec issue here: microsoft/hlsl-specs#850

In addition, since the layout is OuterProductOptimal, alignment is device dependent, and should not be supplied from HLSL/DXIL. We can remove the Align parameter from the API.

See related spec issue here: microsoft/hlsl-specs#851

Since the builtin is shared between scopes, the HLSL API implementation should provide Stride = 0, Layout = OuterProductOptimal, and Align = 0 to the builtin operation. There's no need to expose these parameters to the API user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug, regression, crashneeds-triageAwaiting triage

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions