瀏覽代碼

Removing SIMD from Edge

David Catuhe 10 年之前
父節點
當前提交
cb7d5ba504
共有 5 個文件被更改,包括 11 次插入11 次删除
  1. 1 1
      Babylon/Math/babylon.math.js
  2. 1 1
      Babylon/Math/babylon.math.ts
  3. 2 2
      babylon.2.1-beta.debug.js
  4. 4 4
      babylon.2.1-beta.js
  5. 3 3
      babylon.2.1-beta.noworker.js

+ 1 - 1
Babylon/Math/babylon.math.js

@@ -2898,7 +2898,7 @@ var BABYLON;
         return SIMDHelper;
     })();
     BABYLON.SIMDHelper = SIMDHelper;
-    if (window.SIMD !== undefined) {
+    if (window.SIMD !== undefined && window.SIMD.float32x4 && window.SIMD.float32x4.swizzle) {
         SIMDHelper.EnableSIMD();
     }
 })(BABYLON || (BABYLON = {}));

+ 1 - 1
Babylon/Math/babylon.math.ts

@@ -3579,7 +3579,7 @@
         }
     }
 
-    if (window.SIMD !== undefined) {
+    if (window.SIMD !== undefined && window.SIMD.float32x4 && window.SIMD.float32x4.swizzle) {
         SIMDHelper.EnableSIMD();
     }
 }

File diff suppressed because it is too large
+ 2 - 2
babylon.2.1-beta.debug.js


File diff suppressed because it is too large
+ 4 - 4
babylon.2.1-beta.js


File diff suppressed because it is too large
+ 3 - 3
babylon.2.1-beta.noworker.js