143 Commits

Author SHA1 Message Date
Eugene Cheah
198f094c68 Increased while loop_max to 10 million... added while loop 1k test case 2016-02-26 22:19:21 +08:00
Eugene Cheah
6a54671b8c Added while loop test case 2016-02-26 22:13:07 +08:00
Eugene Cheah
9c0f8af74d Fixed mode var global leak 2016-02-26 20:18:18 +08:00
Fazli Sapuan
7dab6597f8 Merge branch 'master' of github.com:gpujs/gpu.js 2016-02-25 15:56:46 +08:00
Fazli Sapuan
2bee76dd2d Add support for while loops 2016-02-25 15:56:24 +08:00
Eugene Cheah
a9f12337f2 =( Forgot to actually call the reggae optimise function 2016-02-25 15:47:19 +08:00
Eugene Cheah
af3d77b5c4 Merge commit '96e91ccec30e1afc31ab88c656398a1ff050eacc' into eugene-refactor 2016-02-25 15:45:25 +08:00
Eugene Cheah
9af7f245cf added encode32/decode32 pair optimisation 2016-02-25 15:44:56 +08:00
Fazli Sapuan
96e91ccec3 Fix expression limited loops 2016-02-25 15:40:52 +08:00
Fazli Sapuan
e15870a28e Merge branch 'master' of github.com:gpujs/gpu.js 2016-02-25 15:10:23 +08:00
Fazli Sapuan
df84a10efd Implement for loop with expression limit and disable getPixels in graphical 2016-02-25 15:10:16 +08:00
Eugene Cheah
952c0abbed Added nestedFunction test case 2016-02-25 13:01:07 +08:00
Eugene Cheah
e94ed94ec9 Removed the eval evil. 2016-02-25 12:50:07 +08:00
Fazli Sapuan
c2cbe2a1c4 Automatic inner functions 2016-02-25 00:24:05 +08:00
Fazli Sapuan
7520e31b02 Add graphical mode for cpu 2016-02-24 23:00:19 +08:00
Fazli Sapuan
861101a59e Add graphical mode 2016-02-24 16:10:14 +08:00
Fazli Sapuan
5a9416e51e Fix elseif 2016-02-23 20:45:56 +08:00
Fazli Sapuan
93a78d795d Fix if statement without else 2016-02-23 20:29:24 +08:00
Fazli Sapuan
d82ea1f633 s/kernal/kernel/g 2016-02-23 20:15:41 +08:00
Fazli Sapuan
f5f38b68c7 s/kernal/kernel/g 2016-02-23 19:54:26 +08:00
Fazli Sapuan
95897073d8 Update build scripts 2016-02-23 15:44:13 +08:00
Eugene Cheah
6054a81a83 Fixe gulp, added closure jail. 2016-02-15 06:48:30 +08:00
Eugene Cheah
7d2bb1fda7 Merge commit 'fc629bd3e3eae7703df5086c239d038fdc86059e' into eugene-#3-multipleFunctionSupport
Conflicts:
	gulpfile.js
	src/gpu.js
2016-02-15 06:23:52 +08:00
Eugene Cheah
7e48127413 Basic custom function test case 2016-02-15 06:17:38 +08:00
Eugene Cheah
5a3bb50057 Added silent failure, for calling pre-existing math function 2016-02-15 06:02:18 +08:00
Eugene Cheah
21377d9485 Now building the shader code, via the functionBuilder ! 2016-02-15 05:54:28 +08:00
Eugene Cheah
29404d49d7 Function builder tracer 2016-02-15 04:54:54 +08:00
Eugene Cheah
dfaeacac2d Builder, and doc cleanup 2016-02-15 04:11:18 +08:00
Eugene Cheah
7273cffc1c Documentation update 2016-02-15 04:02:08 +08:00
Eugene Cheah
5f76154599 Updated functionNode documentation 2016-02-15 02:58:16 +08:00
Eugene Cheah
754cc003c4 old code removal 2016-02-14 22:33:12 +08:00
Eugene Cheah
1ca7ba926d Function node prototype 2016-02-14 22:31:31 +08:00
Eugene Cheah
63b033d101 Bug fix, where floating values < 1 become 0; 2016-02-14 22:23:33 +08:00
Fazli Sapuan
fc629bd3e3 Bug fix where param names was erronously global 2016-02-14 16:13:49 +08:00
Fazli Sapuan
208fab9766 Add support for hardcoding constants 2016-02-14 15:49:28 +08:00
Eugene Cheah
46c14bc963 Time to write up the alternative AST parser, for the 'addFunction' feature 2016-02-13 21:16:11 +08:00
Fazli Sapuan
791f2cbd09 Bug fix where dimension count is not preserved after output to texture 2016-02-13 20:08:47 +08:00
Eugene Cheah
e41a044542 WIP, function node prototype 2016-02-13 20:08:18 +08:00
Fazli Sapuan
534115cac6 Bug fix where FBO is not reset after output to texture 2016-02-13 19:59:57 +08:00
Eugene Cheah
cb37ad07c1 Initial WIP for https://github.com/gpujs/gpu.js/issues/3 2016-02-13 18:35:31 +08:00
Fazli Sapuan
62b7de1ff9 Add support to change mode after compile 2016-02-13 18:30:17 +08:00
Fazli Sapuan
6ba4943ebb Feature parity between glsl and fallback 2016-02-13 18:27:30 +08:00
Fazli Sapuan
f023d1a49a Add support for toArray() for texture output 2016-02-13 18:16:27 +08:00
Fazli Sapuan
91b59ba873 Add support for texture wraparound 2016-02-13 17:29:32 +08:00
Fazli Sapuan
c3e78192c2 Refactor error fallback handling 2016-02-11 20:04:26 +08:00
Fazli Sapuan
820c571ebd Add support for number input 2016-02-11 19:54:04 +08:00
Fazli Sapuan
e8a9be75f6 Fix program cache bug 2016-02-11 19:28:26 +08:00
Fazli Sapuan
04123070ad this.dimensions support 2016-02-10 23:12:16 +08:00
Fazli Sapuan
d03953d35e Big endian support 2016-02-10 22:55:15 +08:00
Fazli Sapuan
186bb1247f Fixup reference error 2016-02-10 15:20:05 +08:00