| 550 | } |
| 551 | |
| 552 | static bool isInNeededState( Attachment const & inputAttach |
| 553 | , std::vector< ImageLayout > const & states |
| 554 | , bool separateDepthStencilLayouts ) |
| 555 | { |
| 556 | auto id = inputAttach.view().id; |
| 557 | if ( states.size() <= id ) |
| 558 | return false; |
| 559 | |
| 560 | auto & state = states[id]; |
| 561 | return state == inputAttach.getImageLayout( separateDepthStencilLayouts ); |
| 562 | } |
| 563 | |
| 564 | static bool isInNeededState( Attachment const & inputAttach |
| 565 | , std::vector< AccessFlags > const & states ) |
no test coverage detected