Subject: [PATCH 1/5] vkd3d-shader/spirv: Emit an error if a case value is not a constant. This is not validated earlier, so an assertion should not be used.
Should it have been validated earlier though? I.e., can a valid shader cause us to get here, or is this necessarily the result of invalid vsir produced from invalid tpf or d3dbc?