| 514 | } |
| 515 | |
| 516 | static void updateState( Attachment const & inputAttach |
| 517 | , std::vector< ImageLayout > & states |
| 518 | , bool separateDepthStencilLayouts ) |
| 519 | { |
| 520 | auto id = inputAttach.view().id; |
| 521 | while ( states.size() <= id ) |
| 522 | states.resize( std::max< size_t >( 1u, states.size() * 2u ) ); |
| 523 | states[id] = inputAttach.getImageLayout( separateDepthStencilLayouts ); |
| 524 | } |
| 525 | |
| 526 | static void updateState( Attachment const & inputAttach |
| 527 | , std::vector< AccessFlags > & states ) |
no test coverage detected