Pete Brubaker (profile guided optimizer) retweeted
My talk from @BetterSoftwareC last week is up on youtube. I present my findings on thread synchronization and job systems that I learned while parallelizing the physics solver. youtube.com/watch?v=Kvsvd67X…
Pete Brubaker (profile guided optimizer) retweeted
Awazing talk! Another technique (common in GPU) is persitant jobs:
- let atomic C = 0
- fill machine->N jobs:
- do work
- prev = InterlockAdd(C, 1)
- while (prev != N-1) spin
- if (prev==N-1) prep next loop & break spin.
- all threads persistent and require no schedule!
My talk from @BetterSoftwareC last week is up on youtube. I present my findings on thread synchronization and job systems that I learned while parallelizing the physics solver. youtube.com/watch?v=Kvsvd67X…
Pete Brubaker (profile guided optimizer) retweeted
Re: i[ndy]Tech 7 (not 8) youtube.com/watch?v=0QYETn_q… - In simplified terms, the baked vintage lightmap is no more, replaced by simplified frame amortized raytracing building stable probe cascades ...
Pete Brubaker (profile guided optimizer) retweeted
Interpreting Superluminal Profiler Samples
blog.s-schoener.com/2025-02-…
Pete Brubaker (profile guided optimizer) retweeted
MIT's "Street Fighting Mathematics"
This course teaches the art of guessing results and solving problems without doing a proof or an exact calculation.
Book: ocw.mit.edu/courses/18-098-s…
Pete Brubaker (profile guided optimizer) retweeted
I think I finally "understood" theory of relativity. The graphics programmer version: It's really just some normal map decode math and tonemapping :)
Thread...
Pete Brubaker (profile guided optimizer) retweeted
min/max SDF -> either inside or outside is broken. Subtracts keep the inside fine, but the outside is incorrect. Union keeps the outside correct, but the inside is incorrect. Incorrect == not the actual distance to the surface. Conservative distance is not always good enough.
Pete Brubaker (profile guided optimizer) retweeted
Seb wrote a fantastic article exploring how to make mat mul go fast on AMD GPUs. This is a deep dive into both the algorithm and hardware, with great visualizations. He is also looking for work and I only have good things to say about him, so hire him!
seb-v.github.io/optimization…
Pete Brubaker (profile guided optimizer) retweeted
This year the "new" DirectX 12 graphics API, becomes 10 years old (Vulkan becomes 9). Feeling old yet?
Pete Brubaker (profile guided optimizer) retweeted
"Raymarching The Gunk" discussing the techniques used to render the slimy substance in the game, great read: jarllarsson.github.io/gen/gu…
I really don't know what I'd do without @CompileExplore I definitely wouldn't bother doing this very often. With it this was a breeze and took minutes. Without it I know this would have been a chore and mundane.
godbolt.org/z/YcrWMhhhM
Pete Brubaker (profile guided optimizer) retweeted
I wrote a blog post on my implementation of the Surfel maintenance pipeline from my Surfel Radiance Cascades project. Most of what I learned came from "SIGGRAPH 2021: Global Illumination Based on Surfels" a great presentation from EA SEED :)
m4xc.dev/blog/surfel-mainten…
Pete Brubaker (profile guided optimizer) retweeted
NEW GM Shaders: Gamma!
mini.gmshaders.com/p/gamma
How computers handle lighting and specifically gamma correction. This is a simple introduction to more accurate color blending and lighting
Pete Brubaker (profile guided optimizer) retweeted
Graphics Programming weekly - Issue 375 - January 19th, 2025 jendrikillner.com/post/graph…
Pete Brubaker (profile guided optimizer) retweeted
The CUDA programming guide docs.nvidia.com/cuda/cuda-c-… is worth studying, even if you're not programming in CUDA. A lot of this knowledge is transferable to DX12/Vulkan compute shaders, especially the GPU architecture/best practices/performance guidelines parts.
Pete Brubaker (profile guided optimizer) retweeted
Stripy Anti-aliasing
shadertoy.com/view/l3VcWG
Stripes can be tricky to learn at first, but it's a good stepping stone for more complicated scenarios, so it felt necessary to include
Pete Brubaker (profile guided optimizer) retweeted
GM Shaders: Anti-aliasing:
shadertoy.com/view/l3scWM
This is my main demo on 4 levels of anti-aliasing


























