Reproduction steps:
1. Open the attached "repro_IN-57283.zip" project
2. Open the "Assets/_Repro/TestScene" Scene
3. Enter the Play Mode
Expected result: Both "Texture2DArray" (upper right and lower right) textures match the "Texture2D" (upper left and lower left) textures (both look sharp)
Actual result: The "Texture2DArrayGrad" is blurry compared to "Texture2DGrad"
Reproduced with: 2022.2.0a8, 2022.3.11f1, 2023.1.17f1, 2023.2.0b14, 2023.3.0a10
Not reproduced with: 2021.3.31f1, 2022.2.0a7
Reproduced on: Windows 10 (22H2)
Not reproduced on: No other environments tested
Notes:
- Reproducible in Player
- If you embed the HDRP package and manually edit the "ShaderVariables.hlsl" file, remove the override for "SAMPLE_TEXTURE2D_GRAD", and enter the Play Mode, the "Texture2DGrad" will be just as blurry as the "Texture2DArrayGrad"