Nick Hingston
92612c1c2f
fix leaking WegGl contexts
2018-07-30 20:30:31 +01:00
Nick Hingston
03077cedd1
test for 6030401/3991 too
2018-07-26 17:36:12 +01:00
Nick Hingston
462e4d510f
auto check if integer division bug exists
2018-07-26 09:05:08 +01:00
Nick Hingston
98e1bf7688
fix integer division issues on some cards
2018-07-25 18:14:06 +01:00
Robert Plummer
8ee7428e35
Closes #350 - Add Float32Array support on CPU fallback
2018-07-24 15:16:28 -04:00
Nick Hingston
35bba9559f
dont comvert uin8 & 16 arrays
2018-07-23 11:46:58 +01:00
Nick Hingston
da225d3e60
fix #279 problems with calculated sizes
2018-07-13 17:54:29 +01:00
Nick Hingston
f658164b40
fix #300 nested array issue
2018-07-12 22:17:17 +01:00
Robert Plummer
b7e9dfc47b
Fix unit test, and bump release numbers
2018-07-12 16:29:36 -04:00
Nick Hingston
41b1ef8a20
fix merge conflicts from develop
2018-07-12 20:03:09 +01:00
Nick Hingston
a51f735abb
fix code review comments
2018-07-12 19:57:48 +01:00
Nick Hingston
2d870f9c41
fix code review comments
2018-07-12 19:30:01 +01:00
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
Nick Hingston
ed9c8611b3
don't square input buffer
2018-07-11 09:34:56 +01:00
Robert Plummer
fe992769be
Merge branch 'develop' into 314-large-input-array-addressing
2018-07-09 17:44:14 -04:00
Nick Hingston
7bbb957bea
fix issue with nested addressing
2018-07-06 19:42:04 +01:00
Nick Hingston
d42c60c0b6
remove unnecessary extra methods
2018-07-06 19:39:34 +01:00
Nick Hingston
b3000f07c9
use ints for addressing - now supports up to 2^31
2018-07-05 21:07:42 +01: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
693a84741d
fix problem with thread.y and z index being incorrect in some hardware
2018-07-02 17:23:03 +01:00
Robert Plummer
54d985a47d
Edge case for #243 , prevent identifier from getting wrapped in math dealing with input-index
2018-06-29 21:16:44 -04:00
Robert Plummer
3e0f72a433
Some related changes to #243 , include IdentifierExpressions
2018-06-29 20:31:28 -04:00
Robert Plummer
27772251f6
Some related changes to #243 that make index selection based off the actual argument and not the kernel size
...
some cleanup to system I noticed along the way
2018-06-29 18:42:44 -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
9ad50b8850
maintenance, cleanup of documentation and allow for native functions on node.
2018-06-22 10:17:10 -04:00
Robert Plummer
a0b80970ff
maintenance, cleanup of usage of funcParam. No need, we are using this.
2018-06-21 22:34:24 -04:00
Robert Plummer
a70fcc5196
maintenance, cleanup
2018-06-21 22:09:00 -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
480976dd4f
Don't start at length, start at last index.
2018-06-08 16:50:37 -04:00
Robert Plummer
33a7dca5df
process images in reverse y on cpu
...
bump version number
2018-06-08 16:42:24 -04:00
Robert Plummer
cfd3c777d9
Move usage of Number.isInteger to utilities and cleanup some number checking
...
Tests pass same as before
2018-06-07 21:44:25 -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
24d9ac4e1a
working 100% cpu fallback
2018-06-04 20:00:48 -04:00
Robert Plummer
6b25e95649
slightly improve the output of image on cpu
2018-06-04 19:41:41 -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
b00950a829
flip the image and move color to fragment shader for webgl1
2018-05-28 14:32:45 -04:00