#[inline(never)]
ignored when using borrowed push constant as argument.
#847
Labels
#[inline(never)]
ignored when using borrowed push constant as argument.
#847
Expected Behaviour
The function
is expected to be emitted as a
NoInline
tagged spirV function, but it gets inlined.Fix
This can be fixed by cloning the constant, which results in the function actually being emitted like this:
compiles to
The text was updated successfully, but these errors were encountered: