diff --git a/vertices_notjs.go b/vertices_notjs.go index 47b866a31..695799d94 100644 --- a/vertices_notjs.go +++ b/vertices_notjs.go @@ -69,6 +69,9 @@ func vertices(parts ImageParts, width, height int, geo *affine.GeoM) []float32 { vs[n+8] = g4 vs[n+9] = g5 + // nop is required to avoid an ARM 32bit issue (#329). + nop() + vs[n+10] = x1 vs[n+11] = y0 vs[n+12] = u1 @@ -106,3 +109,7 @@ func vertices(parts ImageParts, width, height int, geo *affine.GeoM) []float32 { } return vs } + +//go:noinline +func nop() { +}