Writing a Content Build Tool
Building Content: Just-In-Time Dependency Graphs 19 Jul 2025
So, I've got a little toy hobby game project that I've been working on for ages, and it has content. And that content has to be built. And building content is very annoying, mostly because it tends to have dependencies that're really hard to quickly extract ahead of time. So... I decided not to, and I built myself a build system that builds the dependency graph and the content at the same time.
Read more...Building Content: Scripting With C# 10 Aug 2025
A few weeks ago I wrote about my toy content builder. Today, I'm writing a little bit more about it.
Read more...Building Content: Parameter Packs and their C# Code Generators 04 Sep 2025
In an earlier post in this series I worte about content identity being tied to the parameters used to build that content. This means that the parameter packs which drive builders are one of the major load-bearing elements of the overall design. In this post I'll describe the C# compiler plugin which makes their implementation both easier and much more reliably correct.
Read more...Working Around Driver Bugs: Fixing SPIR-V Assembly With Regex 21 Nov 2025
Recently, I worked around a Vulkan driver bug on my Quest 3 by writing code that throws regular expressions at SPIR-V assembly until it's in the right form to make the driver happy. Some of you might not have enjoyed reading that sentence. Those who just dislike the unfamiliar tech jargon are the lucky ones. The rest are already feeling my pain, and this first paragraph isn't even over yet. It's (horror) story time - but you might learn a little about SPIR-V along the way if you stick around. I sure did.
Read more...