| 725 | } |
| 726 | |
| 727 | static void wait_shaderc_process(CompileOptions &opts, Process &pr) |
| 728 | { |
| 729 | if (!pr.spawned()) |
| 730 | return; |
| 731 | |
| 732 | // Drain output before wait() when abandoning overlapping shaderc work. |
| 733 | TempAllocator4096 ta; |
| 734 | StringStream output(ta); |
| 735 | opts.read_output(output, pr); |
| 736 | pr.wait(); |
| 737 | } |
| 738 | |
| 739 | static void wait_shaderc_processes(CompileOptions &opts, Process *pr_vert, Process *pr_frag, u32 count) |
| 740 | { |
no test coverage detected