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 |
|
Robert Plummer
|
91519d4175
|
fix #218 with unit tests
|
2017-11-08 09:53:15 -05:00 |
|
Robert Plummer
|
6424ecf705
|
fix #207
|
2017-10-25 08:33:51 -04:00 |
|
Robert Plummer
|
a1e3793efe
|
correct unit test
|
2017-10-25 07:54:16 -04:00 |
|
Robert Plummer
|
aa9046476c
|
reproduced error
|
2017-10-25 07:48:06 -04:00 |
|
Robert Plummer
|
6e3eacffe6
|
build and min
|
2017-10-24 10:22:29 -04:00 |
|
Robert Plummer
|
708dbd9bef
|
Merge branch 'develop' into 193-read-in-take-2
|
2017-10-24 10:16:40 -04:00 |
|
Robert Plummer
|
f0eefff9eb
|
fix #212
|
2017-10-24 10:12:21 -04:00 |
|
Robert Plummer
|
c749d2e1fa
|
Merge branch 'develop' into 193-read-in-take-2
|
2017-10-17 08:03:52 -04:00 |
|
Richard Mathie
|
aab66c6c06
|
Sfixes #195 texture reading in 2d and 3d
|
2017-10-07 14:29:38 +01:00 |
|
Robert Plummer
|
b9503e8345
|
#193 solved, by using a flat input that has dimensions
|
2017-10-05 17:41:12 -04:00 |
|
Robert Plummer
|
1f8de19561
|
Ensure our demo runs on latest
|
2017-10-04 15:28:09 -04:00 |
|
Robert Plummer
|
881de164cc
|
Implement #191
|
2017-09-29 14:01:24 -04:00 |
|
Robert Plummer
|
b9e66c7692
|
add test for loopMaxIterations reference fix
|
2017-08-29 16:27:40 -04:00 |
|
Robert Plummer
|
49c8af0a44
|
expose addFunction and addNativeFunction on kernel and gpu instance.
|
2017-08-28 09:11:25 -04:00 |
|
Robert Plummer
|
60faeda52f
|
change addGLSLFunction to addNativeFunction, and add unit test
|
2017-08-28 08:56:59 -04:00 |
|
Robert Plummer
|
c57f543659
|
runDimensions to output
|
2017-08-17 14:41:46 -04:00 |
|
Robert Plummer
|
47fd70faab
|
Merge branch 'develop' into 156-proposals
|
2017-08-17 13:58:21 -04:00 |
|
Robert Plummer
|
d5cb8bbd37
|
expose means of adding glsl functions directly to kernel
|
2017-08-15 15:19:02 -04:00 |
|
Robert Plummer
|
0196d3566d
|
fully fix #159 with no performance issue
|
2017-08-11 16:07:58 -04:00 |
|
Robert Plummer
|
2c79c3452b
|
fully fix #159
|
2017-08-10 20:36:01 -04:00 |
|
Robert Plummer
|
3848d07f63
|
#159 unit test
|
2017-08-10 16:39:53 -04:00 |
|
Robert Plummer
|
1fd535ee64
|
#156 create ability to add functions on createKernel and createKernelMap
|
2017-08-09 13:40:11 -04:00 |
|
Robert Plummer
|
4441a28e23
|
#156 use output rather than dimensions and support both object and array
|
2017-08-09 13:23:01 -04:00 |
|
Robert Plummer
|
ec7c8a3e4e
|
use this.constants to achieve constant lookup
|
2017-08-09 12:56:45 -04:00 |
|