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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Add comment