Skip to content

[HLSL] Support NonUniformResourceIndex #156713

@llvm-beanz

Description

@llvm-beanz

When indexing into resource arrays with non-uniform indices you need to use the NonUniformResourceIndex intrinsic to ensure that the resource indies are communicated to the driver as non-uniform.

Several of the tests we've added in the offload test suite require this annotation for correctness.

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