[PATCH v4 5/7] vkd3d-shader/hlsl: Validate that statics don't contain both resources and numerics.