(size: number)
| 23 | userCode: string; |
| 24 | |
| 25 | constructor(size: number) { |
| 26 | this.outputShape = [size, size]; |
| 27 | this.userCode = ` |
| 28 | void main() { |
| 29 | ivec2 coords = getOutputCoords(); |
| 30 | float val = coords[0] == coords[1] ? getX(coords[0]) : 0.0; |
| 31 | setOutput(val); |
| 32 | } |
| 33 | `; |
| 34 | } |
| 35 | } |
nothing calls this directly
no outgoing calls
no test coverage detected