Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

array sizes must be bounded so they are indexible by 32-bit signed int #47

@dneto0

Description

@dneto0

SPIR-V access chain indices are treated as signed.
So an array size must be bounded so that you can actually index the entire array.
Since the max int width is 32-bits, the max num elements should be 2^31.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions