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

WGSL should use thread instead of invocation #1031

@mehmetoguzderin

Description

@mehmetoguzderin

Host specification for WebGPU uses thread instead of invocation, and accordingly, for consistency, corresponding WGSL entries should adopt thread naming too (say, instead of local_invocation_idx). Metal does a great job at this (and matches with its usage of grid, which is the case in WebGPU host specification too): thread_position_in_grid, threadgroup_position_in_grid, thread_index_in_threadgroup, thread_index_in_simdgroup, ...

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