(result, filters: ParseFiltersAndOutputOptions, options: string[])
| 119 | |
| 120 | // slangc defaults to SPIR-V as a target, but has many target it can output |
| 121 | override async processAsm(result, filters: ParseFiltersAndOutputOptions, options: string[]) { |
| 122 | if (result.asm.startsWith('; SPIR-V')) { |
| 123 | return this.spirvAsm.processAsm(result.asm, filters); |
| 124 | } |
| 125 | // If not SPIR-V, just display as plain text to be safe |
| 126 | return super.processAsm(result, filters, options); |
| 127 | } |
| 128 | } |
nothing calls this directly
no outgoing calls
no test coverage detected