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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Add comment