210 Commits

Author SHA1 Message Date
Robert Plummer
a8d5d02c79 Minor fix for 3d kernel maps and test 2018-07-11 18:54:01 -04:00
Robert Plummer
01a18acbdb Minor cleanup
Removal of unused methods and properties, and a doc cleanup.
Version bump
2018-07-11 16:06:25 -04:00
Robert Plummer
efdc14a770 Fix 335 by checking output setting at build time.
bump version for release
2018-07-04 16:06:50 -04:00
Nick Hingston
21f655f48e allow for 2^24 addresses (was 2^23) 2018-07-03 12:05:54 +01:00
Nick Hingston
531efee1a3 fix test case 2018-07-02 21:29:48 +01:00
Nick Hingston
ae5f3cf5a1 fix my boringly repeative mistake of not adding new files 2018-07-02 20:56:19 +01:00
Nick Hingston
693a84741d fix problem with thread.y and z index being incorrect in some hardware 2018-07-02 17:23:03 +01:00
Robert Plummer
54445608c3 Edge case for test using variables for #243, just making sure 2018-06-29 21:40:19 -04:00
Robert Plummer
2d57f2a0b4 simplify tests, fix z and y edge cases, button up for release 2018-06-28 22:26:39 -04:00
Robert Plummer
407ffd1aae cleanup of unit tests, all passing but one, cpu w/ offset 2018-06-27 14:30:46 -04:00
Robert Plummer
439af19982 add states tracking, and cleanup script. Almost all unit tests passing now with inputs. 2018-06-27 14:11:26 -04:00
Robert Plummer
cde8eab625 #243 Some unit tests, not totally done, but at least x, and x & y. Z is failing. 2018-06-22 15:56:23 -04:00
Robert Plummer
66b2649185 Partially fix #243, mvp 2018-06-22 11:58:20 -04:00
Robert Plummer
81ac3f21a0 maintenance, broken test 2018-06-22 10:18:49 -04:00
Robert Plummer
9ad50b8850 maintenance, cleanup of documentation and allow for native functions on node. 2018-06-22 10:17:10 -04:00
Robert Plummer
80e4440f17 maintenance, cleanup 2018-06-21 22:05:39 -04:00
Robert Plummer
4165099c60 fix #319 add rudimentary infinity handling 2018-06-14 10:53:15 -04:00
Robert Plummer
b2df0ab604 fix #316
Change `HTMLImageArray` render strategy to `gl.NEAREST`, like all the others
Let `WebGL2FunctionNode` extend `WebGLFunctionNode` and lighten
Remove all the different html pages associated with tests, and just use one file to handle them and use qunit for filtering them
Bump version number
2018-06-12 14:07:41 -04:00
Robert Plummer
ac89e00b8e fix #313 and add unit test 2018-06-12 13:57:47 -04:00
Robert Plummer
08ca02b8ef cleanup tests, bump version number, prep for release 2018-06-05 20:29:04 -04:00
Robert Plummer
2dc7c12fdc cleanup on webgl1 and move over to webgl2 where html image array is only supported. 2018-06-05 20:02:53 -04:00
Robert Plummer
b41b51dc96 remove console logging
simplify test
2018-06-05 17:07:29 -04:00
Robert Plummer
3c152beb85 Nearly completed, though not fully working 2018-06-05 15:16:46 -04:00
Robert Plummer
20745c8671 cleanup test, fix kernel for webgl 2, bump version number, and build awaiting release 2018-06-04 20:07:44 -04:00
Robert Plummer
2e1c1c7438 get cpu version running, but still distorted 2018-06-04 19:40:46 -04:00
Robert Plummer
bd2885085a Implement (slightly broken) api usage of:
```js
var imageKernel = gpu.createKernel(function(image) {
  const pixel = image[this.thread.y][this.thread.x];
  this.color(pixel[0], pixel[1], pixel[2], pixel[3]);
}, {
  debug: true,
  output : [276, 183],
  graphical: true
});
```
2018-06-02 15:17:35 -04:00
Robert Plummer
23f1ce74c0 flip the image and move color to fragment shader 2018-05-27 22:23:36 -04:00
Robert Plummer
9a914e2e85 #296 Add initial working support, with visual test 2018-05-26 15:48:12 -04:00
Federico Galatolo
265aaae9d6 Wrote tests for the do{...}while(...) construct 2018-04-27 19:39:17 +02:00
Robert Plummer
af7060d88e webgl1 and webgl2, together at last, and tested. 2018-03-08 20:00:05 -05:00
Robert Plummer
bdc0b6bf9f Merge branch '272-cached-uniform-setting' into 261-webgl2 2018-03-06 13:08:59 -05:00
Robert Plummer
5850030e81 make uniforms only set if their values indeed change, and add tests 2018-03-06 10:42:24 -05:00
Robert Plummer
1d99c94499 Merge branch 'develop' into 261-webgl2 2018-03-03 14:28:15 -05:00
Robert Plummer
5c7187af79 reuse dimensions on textures to prevent utils.getDimensions(inputTexture, true); call, which clones deep 2018-03-01 19:40:36 -05:00
Robert Plummer
3b839b37b0 Merge branch 'develop' into 261-webgl2 2018-03-01 15:59:37 -05:00
Robert Plummer
7898fed31f fix, test, bump version number, and make. 2018-03-01 15:57:40 -05:00
Robert Plummer
8ab9457ad7 Merge branch 'develop' into 261-webgl2 2018-02-28 21:00:51 -05:00
Robert Plummer
2ba6698aa3 adding more combinations of unit tests
they are all passing, but just trying to try every combination
2018-02-28 20:30:39 -05:00
Robert Plummer
9865a4b419 Merge branch 'develop' into 261-webgl2 2018-02-28 15:27:18 -05:00
Robert Plummer
4eda87735a fix #267 by refining implementation a bit 2018-02-28 15:19:58 -05:00
Robert Plummer
01299be9f0 fix #259 by handling when atan2 is used directly in the interpreter
also add unit tests ensuring resolved
2018-02-27 13:07:59 -05:00
Robert Plummer
c668e16943 Merge branch 'develop' into 261-webgl2 2018-02-25 19:32:49 -05:00
Robert Plummer
6f164744f5 get toString working correctly again 2018-02-25 18:59:33 -05:00
Robert Plummer
f4408414d0 all tests now online, use EXT_color_buffer_float 2018-02-25 16:46:23 -05:00
Robert Plummer
8d0145fb70 all tests but a couple to do with Floats running on chrome and firefox 2018-02-24 22:03:58 -05:00
Robert Plummer
fdf547cb80 getting some help on freenode, so made tests run using cdn's rather than node_modules 2018-02-24 20:11:11 -05:00
Robert Plummer
2cb67c4244 propose changes for fix how floating values are handled 2017-12-18 11:10:45 -05:00
Paul Loyd
b5104ddacc Add missed floatOutput testing 2017-12-15 21:41:59 +03:00
Paul Loyd
89ac2592f3 fix #233 2017-12-15 20:53:54 +03:00
Robert Plummer
4b15eea5b3 fix #220 with unit tests
I was able to unify the FunctionNodeBase.astMemberExpressionUnroll for reuse in both CPU and WebGL kernels.  So I refactored for simplification.
2017-11-08 16:16:15 -05:00