Search Issue Tracker
Fixed
Fixed in 1.3.0, 1.4.3
Votes
0
Found in [Package]
1.3.0
1.4.3
Issue ID
BUR-1021
Regression
No
Burst native instructions not called when casting from/to Unity.Mathematics' "half" floating point type
How to reproduce:
1. Open the attached project ("intrinsmath.zip")
2. Observe Jobs in "Reproduce_Avx2_blend_epi32_bugs.cs"
3. Inspect the assembly in the Burst Inspector of the Jobs
Expected results: When casting from f32 to f16 "cvtph2ps" is used and from f16 to f32 "cvtps2ph" is used
Actual results: When casting from f32 to f16 "cvtph2ps" is NOT used and from f16 to f32 "cvtps2ph" is NOT used which is inefficient
Reproducible with: 2018.4.30f1, 2019.4.17f1, 2020.1.17f1, 2020.2.1f1, 2021.1.0a10, 2021.2.0a1 (Burst 1.3.0 - 1.4.3)
Note: Helpful comments in "Reproduce_Avx2_blend_epi32_bugs.cs"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is enabled
Add comment