* Create a PackedFunc that runs the given shader asynchronously * via createComputePipelineAsync * * @param finfo The function information already parsed as a record. * @param code The shader data(in WGSL) * @returns The shader
(finfo: FunctionInfo, code: string)
| 596 | * @returns The shader |
| 597 | */ |
| 598 | async createShaderAsync(finfo: FunctionInfo, code: string): Promise<Function> { |
| 599 | return await (this.createShadeInternal(finfo, code, true) as Promise<Function>); |
| 600 | } |
| 601 | |
| 602 | /** |
| 603 | * Get a uniform buffer from the per-dispatch pool. |
no test coverage detected