| 96 | } |
| 97 | |
| 98 | static size_t makeHash( AttachmentArray const & attachments |
| 99 | , bool mergeMipLevels |
| 100 | , bool mergeArrayLayers ) |
| 101 | { |
| 102 | auto result = std::hash< bool >{}( mergeMipLevels ); |
| 103 | result = hashCombine( result, mergeArrayLayers ); |
| 104 | for ( auto attach : attachments ) |
| 105 | result = hashCombine( result, attach ); |
| 106 | return result; |
| 107 | } |
| 108 | |
| 109 | static AttachmentPtr mergeAttachments( FrameGraph & graph |
| 110 | , AttachmentArray const & attachments |
no test coverage detected