Search Issue Tracker
Fixed in 6.8.x
Votes
0
Found in [Package]
6.7.1
Issue ID
1161737
Regression
No
Missing SAMPLE_TEXTURE2D parameter in GLES2.hlsl define prevents SAMPLE_TEXTURE2D_GRAD shaders from compiling
How to reproduce:
1. Create a new Unity project
2. Download the Core RP Library package
3. Navigate to Packages > Core RP Library > ShaderLibrary > API > GLES2.hlsl
4. See line:
#define SAMPLE_TEXTURE2D_GRAD(textureName, samplerName, coord2, ddx, ddy) SAMPLE_TEXTURE2D(textureName, coord2)
Expected result: SAMPLE_TEXTURE2D contains 'samplerName' parameter
Actual result: SAMPLE_TEXTURE2D does not contain 'samplerName' parameter
Reproducible with Unity versions: 2018.4.2f1, 2019.1.7f1, 2019.2.0b6, 2019.3.0a6
Could not test with Unity versions: 2017.4.28f1(Core RP Library package not available)
Reproducible with package versions: 0.1.27, 6.7.1
Could not test with package versions: 0.1.21(GLES2.hlsl file not present)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Add comment