| 102 | { |
| 103 | |
| 104 | void visitInputs( const ShaderNetwork *network, InternedString handle, std::unordered_set<InternedString> &visited ) |
| 105 | { |
| 106 | if( visited.insert( handle ).second ) |
| 107 | { |
| 108 | for( const auto &c : network->inputConnections( handle ) ) |
| 109 | { |
| 110 | visitInputs( network, c.source.shader, visited ); |
| 111 | } |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | } // namespace |
| 116 |
no test coverage detected