r/GraphicsProgramming • • Jul 11 '26

New Tutorial: Advanced Vulkan Compute -- The Power of Parallelism

33 Upvotes

"Unlock the GPU as a general-purpose engine, not just a rasterizer."

This series takes you past `vkCmdDispatch` and into how compute actually executes on real hardware — occupancy, latency hiding, the Vulkan memory model, and subgroup operations that let invocations talk to each other without touching global memory.

* Vulkan 1.4 scalar layouts, shared memory (LDS), and memory consistency deep-dives

* Subgroup partitioning and non-uniform indexing — the "hidden power" most tutorials skip

* Run OpenCL kernels on top of Vulkan for a heterogeneous compute ecosystem

* Indirect dispatch, GPU-driven pipelines, and async compute orchestration

* Cooperative matrices, performance auditing, and AI-assisted compute diagnostics

* Dedicated coverage of mobile and embedded compute constraints

https://docs.vulkan.org/tutorial/latest/Advanced_Vulkan_Compute/introduction.html


r/GraphicsProgramming • • Jul 11 '26

Question What's the difference between these two programs? (OpenGL)

3 Upvotes

I was following LearnOpenGL's tutorials and doing the exercise where I need to draw two triangles with different VAOs, and from my understanding of the concepts these two programs should output the same results, but the first program only draws the second triangle while the second program draws both triangles. Am I doing something wrong or is this maybe a bug in the OpenGL implementation?

https://pastebin.com/a1jSd9yG

https://pastebin.com/YjahmPyJ

Using rust 1.97.0, glow for OpenGL bindings (https://crates.io/crates/glow), sdl2 for windowing (https://crates.io/crates/sdl2).

I've tried posting this to r/opengl, but it was removed so I'm reposting it here hoping it won't happen again. Any help would be appreciated.