Reproduction steps:
1. Open the attached project "ShaderTest.zip" from Google Drive (link in the edit)
2. Open the "test]" Scene
3. Go to Edit > Project Settings > Player > Other Settings
4. Make sure that Graphics API is set to Direct3D12 (Experimental) or Vulkan
5. Observe the Plane Texture in the Scene
Expected result: The Texture is not corrupted
Actual result: The Texture looks corrupted
Reproducible with: 10.8.1 (2020.3.32f1), 12.1.6 (2021.2.18f1), 13.1.7 (2022.1.0b14), 14.0.2 (2022.2.0a9)
Could not test with: 7.7.1 (2019.4.37f1) - due to errors after project downgrade - System.NullReferenceException: Object reference not set to an instance of an object
Notes:
- Doesn't reproduce with AMD GPU
- Doesn't reproduce with Direct3D11
- Reproducible with Direct3D12 (Experimental) and Vulkan Graphics APIs
- Doesn't reproduce with Deterministic Hash Type on Simple Noise Node
- Doesn't reproduce with NVidia 456.71 driver
- Reproducible with NVidia 512.15 Game Ready driver
Public Issue Tracker :
https://issuetracker.unity3d.com/product/unity/issues/guid/1396305/