The open source OpenXR runtime

xrt_device_compute_distortion returns xrt_result_t to improve error handling in the state tracker