| LCOV - code coverage report | ||||||||||||||||||
|
||||||||||||||||||
Line data Source code 1 : /** 2 : * Parse `#pragma passes N` to get multi-pass count. 3 : * Mirrors backend _detect_pass_count() in nodes_glsl.py. 4 : */ 5 26 : export function detectPassCount(source: string): number { 6 26 : const match = source.match(/#pragma\s+passes\s+(\d+)/) 7 26 : if (match) return Math.max(1, parseInt(match[1], 10)) 8 26 : return 1 9 : } |
| Generated by: LCOV version 2.0-1 |