[PATCH v2 09/11] vkd3d-shader/hlsl: Check for non-static object references.