How about we add an assert-like helper function which does nothing if not specifically enabled in the build. It can emit the source name and line number similar to `vkd3d_unreachable()`. We can use it internally on tests and shader collections. I've been adding asserts to document intended constraints and verify they hold broadly, but I think release builds shouldn't do that.