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

C-like declaration order #677

@litherum

Description

@litherum

We've heard from a few developers that they actually use the same source on both GL and DX. They get away with it by just doing things like #define vec4 float4 and their source is simple enough that it just works. We should consider allowing the same kind of solution in WGSL.

Loop sugar would be helpful in this regard too: #569

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