(a)
| 4 | describe('internal: loop int'); |
| 5 | test('loop int constant output webgl', () => { |
| 6 | function kernel(a) { |
| 7 | let sum = 0; |
| 8 | for (let i = 0; i < this.constants.max; i++) { |
| 9 | sum += a[this.thread.x][i]; |
| 10 | } |
| 11 | return sum; |
| 12 | } |
| 13 | const functionNode = new WebGLFunctionNode(kernel.toString(), { |
| 14 | isRootKernel: true, |
| 15 | output: [1], |
no outgoing calls
no test coverage detected
searching dependent graphs…