wgpu v0.29.0 is out 🎉

• get_current_texture → CurrentSurfaceTexture enum (no more SurfaceError)
• Display handle moved to InstanceDescriptor (winit friendly)
• Optional bind group layouts →full unbinding support
• WriteOnly<[u8]>for safe mapped buffer writes

#rust #wgpu

Day 2 of my journey in graphic programming with #rust
The wgpu surface has now been initialised!

#gamedev #wgpu #fromscratch

Hi everyone, I will share here my journey in #rust with #winit and #wgpu to make a 2d game from scratch!

#gamedev #fromscratch

Link:WebGPU Data Memory Layout

Colors are not mine, this is just how #wgpu-native has it 

I finally looked up the story about Lemonodor, so yeah, I am way late to that party... I don't even understand why I am doing #commonlisp, but for some reason, I find it addictive.

And so, after 3 months of pretty intense work, I proudly present this beauty—THE TRIANGLE!!! 

It’s the wgpu-native triangle example implemented in CL with the #wgpu bindings lib I’ve been working on. I hope I can now exhale, relax, and take a small break. And then jump into it again. Refreshed. A bit, at least.

There’s going to be a lot of work to clean up the mess I made while zerg rushing things with my brain cells in these past 3 months before I start expanding the API. I hope wgpu-native will continue to bless me with smooth rendering and zero crashes. 🤞

https://github.com/keelah-mt/cl-kl-wgpu

#cffi #lisp #programming

Shoutout to @juretriglav 's "Surfel-based global illumination on the web"

Genuinely one of the best posts I have ever seen. If you are interested in #GI #wgpu or #rendering and #graphics in general, I definitely recommend it.

I love playing around with the multi-scale mean estimator :D

https://juretriglav.si/surfel-based-global-illumination-on-the-web/

Surfel-based global illumination on the web

Can we use WebGPU to compute real-time global illumination with surface patches called surfels? Does it look good enough? Is it fast enough? And can we finally construct viable compute-heavy rendering pipelines right here on the open web? Join me on this journey and let's find out!

Jure Triglav
So this is the first time I'm doing anything raw #Vulkan in #RustLang, and ash is actually nice to work with (save all the unsafe-ness). Coming from #wgpu, the biggest difference is of course having to take care of memory allocations and synchronization yourself (and that there is no alternative to render passes in wgpu yet). Instead of VMA (and its #Rust-wrapper vk_mem) I picked https://github.com/Traverse-Research/gpu-allocator, which is also used by wgpu's Vulkan and D3D12 backends.
GitHub - Traverse-Research/gpu-allocator: 🦀 GPU memory allocator for Vulkan, DirectX 12 and Metal. Written in pure Rust

🦀 GPU memory allocator for Vulkan, DirectX 12 and Metal. Written in pure Rust - Traverse-Research/gpu-allocator

GitHub

Awesome to see that @zed is adopting #wgpu as renderer on Linux \o/

https://github.com/zed-industries/zed/pull/46758

gpui: Remove blade, reimplement linux renderer with wgpu by zortax · Pull Request #46758 · zed-industries/zed

The blade graphics library is a mess and causes several issues for both Zed users as well as other 3rd party apps using GPUI. This PR removes blade and implements the linux platform using wgpu whic...

GitHub

I finally got my head around WebGPU/wgpu enough to make my own render graph. Now the bubble universe thing is decomposed into a graph of render passes, and I've got some simple parameter animation going.

In this screencap, I'm varying the particle size and transparency and varying the number of particles in two ways in sync with the universe's revolution. The color map is just doing its own thing; that wasn't planned.

🧵 8/N

#BubbleUniverse #wgpu

Oh, so it is 2026 already? And the month is February already? The last thing I remember is diving into a rabbit hole called "Surely writing my own c2ffi translator for my WGPU project is no big deal."

What's done is done. I am slowly recovering and ready to get back to my WGPU project. While the need for a custom translator is still debatable, I guess further practice will show if that's actually the case. Even if it was overkill, the time wasn't completely lost: I’ve learned more about Common Lisp and even did TDD for the first time in my life - who would've guessed it would finally happen in CL? 

Behold, the monstrosity! https://github.com/keelah-mt/cl-kl-c2ffi

#commonlisp #cffi #wgpu #programming #lisp

GitHub - keelah-mt/cl-kl-c2ffi: A custom c2ffi -> lisp translator with a twist!

A custom c2ffi -> lisp translator with a twist! Contribute to keelah-mt/cl-kl-c2ffi development by creating an account on GitHub.

GitHub