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
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
- Group Node name text is way smaller in the renaming state than the actual display size
Resolution Note:
Right now it's impossible to override sampler state precision. Adding this feature will fix this.