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

[editorial] Fix algorithms wording to handle textures/samplers passed as function args #5328

@kainino0x

Description

@kainino0x

The actual algorithm used to collect unique pairs is more complex than I've written: it depends not just on the texture/sampler pairs at the callsites, but the closure of all possible texture/sampler pairs (e.g., through function parameters). I'm not sure it'll be easy to write in the WebGPU spec, since it's in terms of WGSL datatypes, not API datatypes. Should it be in the WGSL spec instead? Or should I just assume the existence of such a function, as the proposal does?

Metadata

Metadata

Assignees

Labels

apiWebGPU APIcopyeditingPure editorial stuff (copyediting, *.bs file syntax, etc.)wgslWebGPU Shading Language Issues

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions