This is hardly the only place that does something like this, but could we please start using shader_register_init() or helpers built on top of that? Mainly to make life slightly easier for people touching struct vkd3d_shader_register in the future, of course.
Sure, will do in the future. I was not particularly aware of those helpers.
In this case we may want to not be passing vkd3d_shader_register down at all, but I'm not sure. It's not quite clear how to avoid it, anyway.