Patrick Dubroy
@dubroy
One of my discoveries on this odyssey was how wild Vulkan is.

>1000 lines of C++ for "hello triangle" 🫠

…here's the one from the official Vulkan samples: github.com/KhronosGroup/V… twitter.com/dubroy/status/…
Patrick Dubroy @dubroy · Sep 24
TIL: Debugging shaders
→ github.com/pdubroy/til/bl…

I finally figured out some decent workflows for debugging shaders!
Tweet image Tweet image Tweet image Tweet image
13
Sep 24, 2024 · 5 · 3

For comparison, some similar examples —

C++/OpenGL (~180 LoC): learnopengl.com/code_viewer_gh…
ObjC/Metal (~220 LoC): developer.apple.com/documentation/…
Swift/Metal (~160 LoC): github.com/javiersalcedop…

(And yes I know Vulkan is a lower-level API than OpenGL. But similar to Metal AFAIU?)

https://twitter.com/dubroy/status/1838490517123871062 ∙ Archived on 2025-03-28.

← Twitter Archive: 2024