(xShape: [number, number, number, number])
| 29 | size = true; |
| 30 | |
| 31 | constructor(xShape: [number, number, number, number]) { |
| 32 | this.outputShape = xShape; |
| 33 | this.dispatchLayout = flatDispatchLayout(this.outputShape); |
| 34 | this.dispatch = computeDispatch( |
| 35 | this.dispatchLayout, this.outputShape, this.workgroupSize); |
| 36 | this.uniforms = ` axis : vec4<i32>,`; |
| 37 | this.shaderKey = 'reverse'; |
| 38 | } |
| 39 | |
| 40 | getUserCode(): string { |
| 41 | const reverseCoordsSnippet = ` |
nothing calls this directly
no test coverage detected