Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Viewport case handling when don't use upscaler #11

@jbsarazin-BHVR

Description

@jbsarazin-BHVR

When the screen percentage is at 100%, upscaler is not used, so your shader has to offset the output texture.
In PostProcessFFX_RCAS.usf, you have to do the same as PostProcessFFX_FSR.usf in this case
AU2 gxy = AU2(SvPosition.xy - VPColor_ViewportMin);

Other thing, in FSRSubpassEASU.cpp when you initialize bEASUEnabled you compare the viewport rect instead of size, it can lead in false positive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions