| 38 | } |
| 39 | |
| 40 | void checkSampledIsShaderReadOnly( [[maybe_unused]] test::TestCounts const & testCounts |
| 41 | , crg::FramePass const & framePass |
| 42 | , crg::RunnableGraph const & |
| 43 | , crg::RecordContext const & context |
| 44 | , uint32_t index ) |
| 45 | { |
| 46 | for ( auto & [binding, attach] : framePass.getSampled() ) |
| 47 | { |
| 48 | auto view = attach.attach->view( index ); |
| 49 | checkEqual( context.getLayoutState( crg::resolveView( view, index ) ).layout, crg::ImageLayout::eShaderReadOnly ) |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | crg::FrameGraph buildNoPassGraph( test::TestCounts const & testCounts |
| 54 | , crg::ResourceHandler & handler ) |
nothing calls this directly
no test coverage detected