/Engine/Source/Runtime/RenderCore/Public/ShaderPermutation.h
Define a domain as a multidimensional dimension so thatModifyCompilationEnvironment()is getting used.
static constexpr bool IsMultiDimensional = true;