upgrade monado to e9475b13 (#6)
Upgrade monado to [e9475b13](https://gitlab.freedesktop.org/monado/monado/-/commit/e9475b13137db2cca8571576b5381a70fb8180a5) from april. The commit after that, [86262e8b](https://gitlab.freedesktop.org/monado/monado/-/commit/86262e8b4e3ca0497d5846370cf281206cb92635) removed the global command pool utility function which is used by wivrn, so more a refactoring and vulkan knowldege is needed for that. Mainly wanted to do this to make the output metrics to work.
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "util/u_var.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
#include <stdio.h>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
@@ -179,7 +180,7 @@ static std::tuple<float, float> solve_foveation(float scale, float c)
|
||||
return {a, b};
|
||||
}
|
||||
|
||||
bool wivrn_hmd::wivrn_hmd_compute_distortion(xrt_device * xdev, int view_index, float u, float v, xrt_uv_triplet * result)
|
||||
bool wivrn_hmd::wivrn_hmd_compute_distortion(xrt_device * xdev, uint32_t view_index, float u, float v, xrt_uv_triplet * result)
|
||||
{
|
||||
// u,v are in the output coordinates (sent to the encoder)
|
||||
// result is in the input coordinates (from the application)
|
||||
|
||||
Reference in New Issue
Block a user