Skip to content

[On Hold, Needs SRP Landing] Shader Stripping #55

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

Merged
merged 4 commits into from
Jul 22, 2022

Conversation

etienne-p
Copy link

@etienne-p etienne-p commented Feb 11, 2022

We added a property to the Universal Render Pipeline asset to allow for Screen Coord Override shader stripping.
So we add a shader preprocessor making sure the property is set to true as it is needed for CD.

Note: I have a follow up PR to Graphics Unity-Technologies/Graphics#7121 moving shader stripping to URP global settings. This PR already matches this change so we'll wait for the follow up PR to land before landing this.

Copy link
Contributor

@wenzhang-unity wenzhang-unity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I'm gonna ask you about how shader stripping works someday.

@etienne-p etienne-p changed the title Shader Stripping [On Hold, Needs SRP Landing] Shader Stripping Feb 23, 2022
@etienne-p etienne-p merged commit 0487127 into dev Jul 22, 2022
@etienne-p etienne-p deleted the etienne/urp-shader-stripping branch July 22, 2022 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants