Zebediah Figura : vkd3d: Introduce a vkd3d_bound_range() helper.