c/cylinder: Fix aspectRatio for compute compositor
the compute compositor had the math for `aspectRatio` backwards for cylinder layers, causing textures to appear stretched Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2699> (cherry picked from commit 69834fe93b84640170f8efa54b4700e5e0dc03c1)
222 unmodified linesExpand all223224225226227227228229230231297 unmodified linesExpand all222 unmodified linesExpand all
const float chan = central_angle / (PI * 2.f);
// height in radii, radius only matters for determining intersection const float height = central_angle * aspect_ratio; const float height = central_angle / aspect_ratio;
// Normalize [0, 2π] to [0, 1] const float uhan = 0.5 + chan / 2.f; const float lhan = 0.5 - chan / 2.f;297 unmodified linesExpand all