MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / areOverlapping

Function areOverlapping

source/RenderGraph/GraphBuilder.cpp:304–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302 }
303
304 static bool areOverlapping( ImageViewData const & lhs
305 , ImageViewData const & rhs )
306 {
307 return lhs.image == rhs.image
308 && areIntersecting( getVirtualRange( lhs.image, lhs.info.viewType, lhs.info.subresourceRange )
309 , getVirtualRange( rhs.image, rhs.info.viewType, rhs.info.subresourceRange ) );
310 }
311
312 static bool areOverlapping( BufferViewData const & lhs
313 , BufferViewData const & rhs )

Callers 1

traverseAttachmentPassesFunction · 0.85

Calls 5

areIntersectingFunction · 0.85
getVirtualRangeFunction · 0.85
isImageMethod · 0.80
viewMethod · 0.80
bufferMethod · 0.80

Tested by

no test coverage detected