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