JCPalmer Posted April 11, 2016 Share Posted April 11, 2016 My recent episode with FireFox not running, got me using Firefox nightly. Firefox nightly has SIMD, but I have not been able to run my SIMD code or the code in Math.SIMD.ts for the longest time. Finally, got to the bottom of it. Some of the objects are not the same name, 'float32x4' is now 'Float32x4'. Some of the functions are renamed, 'loadXYZ' is now 'load3'. I changed my code, it needs some TLC, but it now executes. Did not edit math.SIMD.ts. What is the plan? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 11, 2016 Share Posted April 11, 2016 If you can provide a PR to fix math.SIMD.ts this will be perfect! Quote Link to comment Share on other sites More sharing options...
JCPalmer Posted April 11, 2016 Author Share Posted April 11, 2016 Ok, sometime this week, but I will not be able to test it. Only have that dancing scene which uses it. My own code only calls my own SIMD right now. It does not work now, so an wait to test on that dancing scene after PR. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 11, 2016 Share Posted April 11, 2016 Babylon.js rule #2: No rush Quote Link to comment Share on other sites More sharing options...
ben_a_adams Posted June 7, 2016 Share Posted June 7, 2016 I did a PR for both the SIMD changes and to use asm.js in the SIMD functions https://github.com/BabylonJS/Babylon.js/pull/1180 But alas the SIMD demo doesn't work. I'll try another just changing the SIMD syntax and see if that works. Quote Link to comment Share on other sites More sharing options...
ben_a_adams Posted June 7, 2016 Share Posted June 7, 2016 K... Have asm.js + SIMD fixes: https://github.com/BabylonJS/Babylon.js/pull/1180 Also just SIMD fixes: https://github.com/BabylonJS/Babylon.js/pull/1181 You'll need to update the gulp dependencies for uglify not to chew up the asm.js e.g. npm install npm update gulp typescript-compile gulp However, I'm not convinced either of them is better than without SIMD... :-/ Nevertheless one of them is better than current where the SIMD is broken due to spec changes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.