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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment