Fix compilation with QT_COORD_TYPE=double on ARM
Add a missing template specialization in the neon drawhelper. Task-number: QTBUG-33781 Change-Id: Iec02a93aee9403dc1275c32436db5527585b1088 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>bb10
parent
24733dea6c
commit
e696bef863
|
|
@ -964,6 +964,7 @@ public:
|
|||
union Vect_buffer_i { Int32x4 v; int i[4]; };
|
||||
union Vect_buffer_f { Float32x4 v; float f[4]; };
|
||||
|
||||
static inline Float32x4 v_dup(double x) { return vdupq_n_f32(float(x)); }
|
||||
static inline Float32x4 v_dup(float x) { return vdupq_n_f32(x); }
|
||||
static inline Int32x4 v_dup(int x) { return vdupq_n_s32(x); }
|
||||
static inline Int32x4 v_dup(uint x) { return vdupq_n_s32(x); }
|
||||
|
|
|
|||
Loading…
Reference in New Issue