gfx-rs / wgpu

A cross-platform, safe, pure-Rust graphics API.
https://wgpu.rs
Apache License 2.0
12.18k stars 896 forks source link

[wgsl-in] external texture support #4386

Open jinleili opened 2 years ago

jinleili commented 2 years ago

Add support for texture_external.

WGSL spec: https://gpuweb.github.io/gpuweb/wgsl/#external-texture-type

Related issues: https://github.com/gfx-rs/wgpu/issues/274 https://github.com/gfx-rs/wgpu/issues/1733

ErichDonGubler commented 1 year ago

In case it helps anyone, these sections of current spec. drafts for the Web platform seem the most relevant: