(webGLVersion: number)
| 76 | const binaryCaches: {[webGLVersion: string]: {[key: string]: GPGPUBinary}} = {}; |
| 77 | |
| 78 | export function getBinaryCache(webGLVersion: number) { |
| 79 | if (webGLVersion in binaryCaches) { |
| 80 | return binaryCaches[webGLVersion]; |
| 81 | } |
| 82 | binaryCaches[webGLVersion] = {}; |
| 83 | return binaryCaches[webGLVersion]; |
| 84 | } |
| 85 | |
| 86 | // Empirically determined constant used to determine size threshold for handing |
| 87 | // off execution to the CPU. |
no outgoing calls
no test coverage detected
searching dependent graphs…