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/…
>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!
→ github.com/pdubroy/til/bl…
I finally figured out some decent workflows for debugging shaders!
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?)
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.