[PATCH v2] vkd3d: Batch up wait operations until work is submitted.