Skip to content

Commit ef91fa8

Browse files
committed
Fix code typo in NEON reinterpret cast.
Fixes #19258
1 parent 27815c7 commit ef91fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GPU/Common/VertexDecoderHandwritten.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ void VtxDec_Tu8_C5551_Ps16(const u8 *srcp, u8 *dstp, int count, const UVScale *u
238238
float32x4_t pos1_ext = vmulq_f32(vcvtq_f32_s32(pos1_32), posScale);
239239

240240
uint64x1_t uv8_one = vdup_n_u64(uv0);
241-
uint8x8_t uv8 = vreinterpret_s8_u64(uv8_one);
241+
uint8x8_t uv8 = vreinterpret_u8_u64(uv8_one);
242242
uint16x4_t uv16 = vget_low_u16(vmovl_u8(uv8));
243243
uint32x4_t uv32 = vmovl_u16(uv16);
244244
float32x4_t uvf = vaddq_f32(vmulq_f32(vcvtq_f32_u32(uv32), uvScale), uvOffset);

0 commit comments

Comments
 (0)