summary refs log tree commit diff
path: root/pkgs/applications/networking/browsers/chromium/patches/neon_buildfix.patch
blob: b44487ca634c26373e9e7ceccbaa678237c338a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/skia/ext/convolver_neon.cc b/skia/ext/convolver_neon.cc
index 26b91b9..cae6bc2 100644
--- a/skia/ext/convolver_neon.cc
+++ b/skia/ext/convolver_neon.cc

@@ -23,7 +23,7 @@
     remainder[2] += coeff * pixels_left[i * 4 + 2];
     remainder[3] += coeff * pixels_left[i * 4 + 3];
   }
-  return {remainder[0], remainder[1], remainder[2], remainder[3]};
+  return vld1q_s32(remainder);
 }
 
 // Convolves horizontally along a single row. The row data is given in
@@ -336,4 +336,4 @@
   }
 }
 
-}  // namespace skia
\ No newline at end of file
+}  // namespace skia