Skip to content

[HLSL][DirectX] Fix updateBufferCounter signature #115614

@joaosaffran

Description

@joaosaffran

updateBufferCounter needs to return uint with the pre-incremented or pre-decremented counter value:

See https://godbolt.org/z/rGhWbcrY5
https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/sm5-object-rwstructuredbuffer-incrementcounter

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions