Skip to content

[DirectX] Eliminate implicit conversion operator of ComputeShaderFlags to uint64_t #118570

Open
@bharadwajy

Description

@bharadwajy

The implicit conversion operator() of ComputeShaderFlags to uint64_t may encourage unintended usage - see this comment.

Eliminate operator() and update other access functions such as getFeatureFlags() etc., accordingly.

Additionally, define equality operator==.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HLSLHLSL Language Support

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions