| 145 | } |
| 146 | |
| 147 | static bool hasOutput( FramePass const & pass ) |
| 148 | { |
| 149 | auto result = ( !pass.getOutputs().empty() || !pass.getInouts().empty() ); |
| 150 | |
| 151 | if ( !result ) |
| 152 | { |
| 153 | for ( auto & attach : pass.getTargets() ) |
| 154 | result = result || attach->isOutput(); |
| 155 | } |
| 156 | |
| 157 | return result; |
| 158 | } |
| 159 | |
| 160 | static void addPassInputs( FramePass const & pass |
| 161 | , AttachmentArray & result ) |
no test coverage detected