Search Issue Tracker

Fixed

Fixed in 1.8.X, 2.0.0-pre.5

Votes

1

Found in [Package]

1.8.11

2.0.0-pre.1

Issue ID

BUR-2572

Regression

No

“Burst error BC1304: mm256_shuffle_ps: parameter imm8 must be a constant expression” error is thrown when imm8 is a constant

Package: Burst

-

How to reproduce:
1. Open the “Burst Bugs 2022“ project
2. Open the “SampleScene“
3. Open the “Jobs > Burst > Open Inspector“
4. Drop down the “BurstFunctionPointerCompilationTest” and select the “Int8MulTest(MaxMath.int8&, MaxMath.int8&)“ compiler target
5. Observe the compiler target in the Assembly tab

Expected result: No compilation error, the argument imm8 is seen as a constant
Actual result: The error “Burst error BC1304: mm256_shuffle_ps: parameter imm8 must be a constant expression” is thrown

Reproducible with: 1.8.10 (2023.3.0a17), 1.8.11 (2021.3.33f1, 2022.3.15f1, 2023.2.3f1, 2023.3.0a17)

Reproducible on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.