()
| 6 | function copy1DTexture(precision, mode) { |
| 7 | const gpu = new GPU({ mode }); |
| 8 | function makeTexture() { |
| 9 | return (gpu.createKernel(function() { |
| 10 | return this.thread.x; |
| 11 | }, { |
| 12 | output: [5], |
| 13 | pipeline: true, |
| 14 | precision |
| 15 | }))(); |
| 16 | } |
| 17 | const texture = makeTexture(); |
| 18 | const clone = texture.clone(); |
| 19 | assert.notEqual(texture, clone); |
no test coverage detected
searching dependent graphs…