• 42 Posts
  • 4.6K Comments
Joined 3 years ago
cake
Cake day: August 17th, 2023

help-circle







  • The code snippet, or what exactly? Everything comes from my brain.

    Yeah, that’s what I tried to express with the snippet. But even if a driver update every now and then invalidates your snapshots - so what? You can either manually verify them, or just regenerate them from the last known working commit and keep going.

    I’ve now written ~60 tests for ~10 shader functions, and it’s been an enormous help. Can’t recommend it enough!