[ShaderGraph] [2021.2] Adding anisotropic option #5801
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose of this PR
Backport to 2021.2 of:
Fix for: https://fogbugz.unity3d.com/f/cases/1367540/
Backport: https://fogbugz.unity3d.com/f/cases/1367746/
Backports:
2022.1: #5657
2021.2: #5801
Adding anisotropic option to the Sampler State node:

Docs ticket: https://jira.unity3d.com/browse/GSG-591
Testing status
Before: (no anisotropic)

After: (x16)

Added yamato test to test inline anisotropic sampler state node:

Yamato:
Nightly ShaderGraph on 2021.2: 🟢
https://yamato.cds.internal.unity3d.com/jobs/902-Graphics/tree/2021.2%252Fsg%252Fadd%252Fanisotropic/.yamato%252Fall-shadergraph.yml%2523Nightly_ShaderGraph_2021.2/8988874/job/pipeline
master: 34fcac4
https://yamato.cds.internal.unity3d.com/jobs/902-Graphics/tree/2021.2%252Fstaging/.yamato%252Fall-shadergraph.yml%2523Nightly_ShaderGraph_2021.2/8988509/job/pipeline
URP: 🟡 -- failures match master
https://yamato.cds.internal.unity3d.com/jobs/902-Graphics/tree/2021.2%252Fsg%252Fadd%252Fanisotropic/.yamato%252Fall-urp.yml%2523PR_URP_2021.2/9012128/job/pipeline
URP master:
https://yamato.cds.internal.unity3d.com/jobs/902-Graphics/tree/2021.2%252Fstaging/.yamato%252Fall-urp.yml%2523PR_URP_2021.2/8982696/job/pipeline
failures: -- match master
URP_Lighting on Win_Vulkan_Standalone_mono_Linear on version 2021.2 -- failed same test : 202_SSAO_Depth 🟡
HDRP: 🟡 -- failures match master
https://yamato.cds.internal.unity3d.com/jobs/902-Graphics/tree/2021.2%252Fsg%252Fadd%252Fanisotropic/.yamato%252Fall-hdrp.yml%2523PR_HDRP_2021.2/9012106/job/pipeline
HDRP master:
https://yamato.cds.internal.unity3d.com/jobs/902-Graphics/tree/2021.2%252Fstaging/.yamato%252Fall-hdrp.yml%2523PR_HDRP_2021.2/8982528/job/pipeline
failures: -- match master 🟡
HDRP on Linux_Vulkan_playmode_mono_Linear on version 2021.2 -- same 2 failed tests (after rerun) 🟡
HDRP on OSX_Metal_playmode_mono_Linear on version 2021.2 -- same 3 failed tests 🟡
HDRP on Win_Vulkan_playmode_mono_Linear on version 2021.2 -- same 2 failed tests 🟡
HDRP on Win_DX12_playmode_mono_Linear on version 2021.2 -- same 2 failed tests 🟡
HDRP on Win_DX11_playmode_XR_mono_Linear on version 2021.2 -- same 2 failed tests (after rerun) 🟡
HDRP on Win_DX11_playmode_mono_Linear on version 2021.2 -- same 2 failed tests 🟡
Console PR and Tests: 🟡
https://github.cds.internal.unity3d.com/unity/ScriptableRenderPipelinePrivate/pull/245
https://yamato.cds.internal.unity3d.com/jobs/339-ScriptableRenderPipelinePrivate/tree/2021.2%252Fstaging/.yamato%252Fall-shadergraph.yml%2523Nightly_ShaderGraph_2021.2/9040417/job/pipeline
Comments to reviewers
Notes for the reviewers you have assigned.