()
| 590 | } |
| 591 | |
| 592 | translateSource() { |
| 593 | const functionBuilder = FunctionBuilder.fromKernel(this, WebGLFunctionNode, { |
| 594 | fixIntegerDivisionAccuracy: this.fixIntegerDivisionAccuracy |
| 595 | }); |
| 596 | this.translatedSource = functionBuilder.getPrototypeString('kernel'); |
| 597 | this.setupReturnTypes(functionBuilder); |
| 598 | } |
| 599 | |
| 600 | setupReturnTypes(functionBuilder) { |
| 601 | if (!this.graphical && !this.returnType) { |
no test coverage detected