wgpu icon indicating copy to clipboard operation
wgpu copied to clipboard

Way to log/debug printf in WGSL

Open Anutrix opened this issue 8 months ago • 0 comments

Is your feature request related to a problem? Please describe. I just started learning wgpu and wgsl and I want to debug/log print in shaders to understand concepts but there doesn't seem to be a way to do it.

Describe the solution you'd like Basically https://github.com/gfx-rs/wgpu/pull/4297 seems to be what I want but there didn't seem like there was a issue ticket for it.

Describe alternatives you've considered Couldn't find alternative yet. Still looking.

Additional context Add any other context or screenshots about the feature request here.

Anutrix avatar May 03 '25 14:05 Anutrix