[PATCH v4 1/5] vkd3d-shader/hlsl: Move object type checks to methods handlers.