diff --git a/cocos/rendering/custom/types.ts b/cocos/rendering/custom/types.ts index ace31a9eaf..37dd6c5977 100644 --- a/cocos/rendering/custom/types.ts +++ b/cocos/rendering/custom/types.ts @@ -58,6 +58,7 @@ export enum ResourceResidency { PERSISTENT, EXTERNAL, BACKBUFFER, + CUSTOM, } export enum QueueHint { diff --git a/native/cocos/renderer/pipeline/custom/LayoutGraphSerialization.cpp b/native/cocos/renderer/pipeline/custom/LayoutGraphSerialization.cpp index b7a52d9fa2..d955e91258 100644 --- a/native/cocos/renderer/pipeline/custom/LayoutGraphSerialization.cpp +++ b/native/cocos/renderer/pipeline/custom/LayoutGraphSerialization.cpp @@ -28,13 +28,15 @@ * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= */ // NOLINTBEGIN(misc-include-cleaner) -#include "cocos/renderer/pipeline/custom/LayoutGraphSerialization.h" +// clang-format off #include "cocos/renderer/pipeline/custom/ArchiveTypes.h" #include "cocos/renderer/pipeline/custom/LayoutGraphGraphs.h" +#include "cocos/renderer/pipeline/custom/LayoutGraphSerialization.h" #include "cocos/renderer/pipeline/custom/LayoutGraphTypes.h" #include "cocos/renderer/pipeline/custom/RenderCommonSerialization.h" #include "cocos/renderer/pipeline/custom/details/Range.h" #include "cocos/renderer/pipeline/custom/details/SerializationUtils.h" +// clang-format on namespace cc { diff --git a/native/cocos/renderer/pipeline/custom/RenderCommonNames.h b/native/cocos/renderer/pipeline/custom/RenderCommonNames.h index f5cb6198eb..9f263938ce 100644 --- a/native/cocos/renderer/pipeline/custom/RenderCommonNames.h +++ b/native/cocos/renderer/pipeline/custom/RenderCommonNames.h @@ -71,6 +71,7 @@ inline const char* getName(ResourceResidency e) noexcept { case ResourceResidency::PERSISTENT: return "PERSISTENT"; case ResourceResidency::EXTERNAL: return "EXTERNAL"; case ResourceResidency::BACKBUFFER: return "BACKBUFFER"; + case ResourceResidency::CUSTOM: return "CUSTOM"; } return ""; } diff --git a/native/cocos/renderer/pipeline/custom/RenderCommonSerialization.cpp b/native/cocos/renderer/pipeline/custom/RenderCommonSerialization.cpp index 9f03779392..9f140fe796 100644 --- a/native/cocos/renderer/pipeline/custom/RenderCommonSerialization.cpp +++ b/native/cocos/renderer/pipeline/custom/RenderCommonSerialization.cpp @@ -28,10 +28,12 @@ * ========================= !DO NOT CHANGE THE FOLLOWING SECTION MANUALLY! ========================= */ // NOLINTBEGIN(misc-include-cleaner) -#include "cocos/renderer/pipeline/custom/RenderCommonSerialization.h" +// clang-format off #include "cocos/renderer/pipeline/custom/ArchiveTypes.h" +#include "cocos/renderer/pipeline/custom/RenderCommonSerialization.h" #include "cocos/renderer/pipeline/custom/RenderCommonTypes.h" #include "cocos/renderer/pipeline/custom/details/SerializationUtils.h" +// clang-format on namespace cc { diff --git a/native/cocos/renderer/pipeline/custom/RenderCommonTypes.h b/native/cocos/renderer/pipeline/custom/RenderCommonTypes.h index f694bc7087..b10f153b5e 100644 --- a/native/cocos/renderer/pipeline/custom/RenderCommonTypes.h +++ b/native/cocos/renderer/pipeline/custom/RenderCommonTypes.h @@ -83,6 +83,7 @@ enum class ResourceResidency : uint8_t { PERSISTENT, EXTERNAL, BACKBUFFER, + CUSTOM, }; enum class QueueHint : uint8_t {