Search Issue Tracker
By Design
Votes
0
Found in [Package]
7.3.1
Issue ID
1267645
Regression
No
[Improvement][URP]Generated GLES3x shader uses mediump precision instead of highp on local variables in fragment shader
Steps to reproduce:
1. Open user's attached project "DemoProject.zip"
2. Select Assets/Shaders/URPIsolines.shader
3. Compile code for GLES3x platform
4. Look at line 164 of generated glsl shader: "mediump float u_xlat10_0;"
Expected results: "float u_xlat10_0;" or "highp float u_xlat10_0;"
Actual results: "mediump float u_xlat10_0;"
Reproducible with: 2019.4.5f1(7.3.1), 2020.1.1f1(8.2.0), 2020.2.0a20(8.2.0)
Unable to test with: 2018.4.26f1 URP does not exist
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor Perforce login fails when Perforce shows a license expiry warning
- Assertion failed error in HDRP builds when enabling STP via script
- FBX Resamples Curves incorrectly when importing FBX files
- ProBuilder GameObject Faces disappear when increasing the Sides Count value
- FileUtil.CopyFileOrDirectory throws IOException when destination parent folder does not exist
Resolution Note:
Right now it's impossible to override sampler state precision. Adding this feature will fix this.