GPU programming is so cool! You need 600 lines of code to add 2 numbers. You don't have traditional stepping debugger, instead you have validation layers and renderdoc. GPUs don't have branch predictors and are heavily parallel, so you really don't want if conditions. It's basically like getting into programming all over again. My head hurts, but like in a good way. I'm learning!
78
63
2,712
156,466
Replying to @OlexGameDev
Cries in AMD

Mar 26, 2026 · 9:20 PM UTC

3
1
89
13,104
Sort replies: Relevant Recent Liked
Replying to @valigo @OlexGameDev
Well, you can do offline shader debugging (with stepping) in RenderDoc. I think it's DirectX only, or in my case WebGPU on top of DirectX. Shader is in hlsl, tanslated from wgsl, though, but that's not that big of a deal.
1
3
528
Replying to @valigo @OlexGameDev
If using DX12 or Vulkan, you can use PIX for windows to step through code. RenderDoc should also have support for stepping through code.
2
388
Replying to @valigo @OlexGameDev
ROCgdb is just gdb but for AMD gpus.
26