[PATCH v2 2/5] vkd3d-shader: Check that instructions are valid.