| 24 | } |
| 25 | |
| 26 | void LayerLayoutStatesHandler::setLayoutState( ImageId image |
| 27 | , ImageViewType viewType |
| 28 | , ImageSubresourceRange const & subresourceRange |
| 29 | , LayoutState const & layoutState ) |
| 30 | { |
| 31 | auto range = getVirtualRange( image |
| 32 | , viewType |
| 33 | , subresourceRange ); |
| 34 | auto [it, _] = images.try_emplace( image.id ); |
| 35 | addSubresourceRangeLayout( it->second |
| 36 | , range |
| 37 | , layoutState ); |
| 38 | } |
| 39 | |
| 40 | void LayerLayoutStatesHandler::setLayoutState( crg::ImageViewId view |
| 41 | , LayoutState const & layoutState ) |
nothing calls this directly
no test coverage detected