这是indexloc提供的服务,不要输入任何密码
Skip to content

Support .length() for runtime-sized arrays #989

@iraiter2

Description

@iraiter2

To implement clamping on buffer access, we could use a .length() property on arrays. SPIRV supports this via OpArrayLength so it should work on all platforms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wgslWebGPU Shading Language Issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions