Бранимир Караџић 4 rokov pred
rodič
commit
446cd86865
1 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 4 4
      include/bx/inline/simd128_ref.inl

+ 4 - 4
include/bx/inline/simd128_ref.inl

@@ -136,10 +136,10 @@ BX_SIMD128_IMPLEMENT_TEST(xyzw , 0xf)
 	BX_SIMD_FORCE_INLINE simd128_ref_t simd_shuf_AxBy(simd128_ref_t _a, simd128_ref_t _b)
 	BX_SIMD_FORCE_INLINE simd128_ref_t simd_shuf_AxBy(simd128_ref_t _a, simd128_ref_t _b)
 	{
 	{
 		simd128_ref_t result;
 		simd128_ref_t result;
-		result.uxyzw[0] = _a.uxyzw[1];
-		result.uxyzw[1] = _b.uxyzw[1];
-		result.uxyzw[2] = _a.uxyzw[0];
-		result.uxyzw[3] = _b.uxyzw[0];
+		result.uxyzw[0] = _b.uxyzw[0];
+		result.uxyzw[1] = _a.uxyzw[0];
+		result.uxyzw[2] = _b.uxyzw[1];
+		result.uxyzw[3] = _a.uxyzw[1];
 		return result;
 		return result;
 	}
 	}