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