-
Notifications
You must be signed in to change notification settings - Fork 774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate ComputeScreenPos #2529
Conversation
TestProjects/UniversalGraphicsTest/Assets/Scenes/130_UnityMatrixIVP/WorldReconstruction.shader
Outdated
Show resolved
Hide resolved
com.unity.render-pipelines.universal/ShaderLibrary/Deprecated.hlsl
Outdated
Show resolved
Hide resolved
Adding @rainsing for review on 2D changes. |
This is universal only change and it's passing the tests https://yamato.cds.internal.unity3d.com/job/4296819 . CUSTOM-REVISON is 20.2, which fails because of the codestyle rename. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
# Conflicts: # com.unity.render-pipelines.universal/ShaderLibrary/Deprecated.hlsl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving assuming that you will move writing-shaders-urp-reconstruct-world-position.md and the PNG to a separate PR as we agreed (to make the review process more optimal).
Thanks for the great input!
…nologies/Graphics into universal/screenpos-deprecate
Separated the docs into another branch: #2849 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Checklist for PR maker
need-backport-*
label. After you backport the PR, the label changes tobackported-*
.CHANGELOG.md
file.Purpose of this PR
Deprecate ComputeScreenPos as it's a duplicate and badly named/documented. It confuses people.
Remove it's usage from URP.
Testing status
Describe what manual/automated tests were performed for this PR
2020.2 Pass, 072 fail is expected. https://yamato.cds.internal.unity3d.com/jobs/902-Graphics/tree/universal%252Fscreenpos-deprecate/.yamato%252Fall-universal.yml%2523All_Universal_CUSTOM-REVISION/4219839/job/pipeline
But the failed job passes in current master with 20.2.
https://yamato.cds.internal.unity3d.com/jobs/902-Graphics/tree/universal%252Fscreenpos-deprecate/.yamato%252Funiversal-win-dx11.yml%2523Universal_Win_DX11_playmode_XR_mono_Linear_CUSTOM-REVISION/4221238/job
Comments to reviewers
Notes for the reviewers you have assigned.