/Engine/Source/Runtime/RenderCore/Public/RenderGraphResources.h
Given a before and after state, returns whether they can be merged into a single state.
static bool IsMergeAllowed ( ERDGViewableResourceType ResourceType, const [FRDGSubresourceState](API\Runtime\RenderCore\FRDGSubresourceState) & Previous, const [FRDGSubresourceState](API\Runtime\RenderCore\FRDGSubresourceState) & Next )