Skip to content

Cannot set renderScaling on Qualcomm devices #1254

@CDluoqi

Description

@CDluoqi

Description

Setting renderScaling on Qualcomm devices has no effect, and I found that maxImageRectWidth on Qualcomm devices is equal to recommended ImageRectHeight, which prevents renderScaling from being set to a value greater than 1. But in Unity, it can be set to a value greater than 1. So can we skip checking the maximum value?

Platform / Environment

Qualcomm VR Device

Logs or exception details

openxr_view.cpp line440

if (w > (int32_t)display->view_configs[0].maxImageRectWidth      ) w = display->view_configs[0].maxImageRectWidth;
if (h > (int32_t)display->view_configs[0].maxImageRectHeight     ) h = display->view_configs[0].maxImageRectHeight;

Unity Log:
[0]: Recommended: Width=1920, Height=1920, SampleCount=1
[0]: Maximum: Width=3840, Height=1920, SampleCount=1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions