* Create a PackedFunc that runs the given shader * via createComputePipeline * * @param finfo The function information already parsed as a record. * @param code The shader data(in WGSL) * @returns The shader
(finfo: FunctionInfo, code: string)
| 584 | * @returns The shader |
| 585 | */ |
| 586 | createShader(finfo: FunctionInfo, code: string): Function { |
| 587 | return this.createShadeInternal(finfo, code, false) as Function; |
| 588 | } |
| 589 | |
| 590 | /** |
| 591 | * Create a PackedFunc that runs the given shader asynchronously |
no test coverage detected