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

[subgroup matrix] Allow subgroup_matrix types in private address space? #5435

@alan-baker

Description

@alan-baker

The proposal describes only allowing subgroup_matrix types in Function or Private address spaces. Private is a little problematic because of the subgroup uniformity analysis. All mutable global variables are considered non-uniform. So any subgroup_matrix type in private address space would be non-uniform and effectively require disabling the analysis to use.

Suggest disallowing private for now, but consider supporting global variables in uniformity analysis via a desugaring as a separate language feature. If added we could then also allow private subgroup matrices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wgslWebGPU Shading Language Issues

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions