Zebediah Figura (@zfigura) commented about libs/vkd3d-shader/hlsl.y:
%type <variable_def> variable_def %type <variable_def> variable_def_typed
+%type <state_block_entry> state
We could just fold the "state" rule into its parent; it's only got one form, and that would simplify things a bit.