chore: checkpoint workspace updates

This commit is contained in:
2026-04-27 01:33:25 +08:00
parent d1126d70f7
commit 12d32f3727
30 changed files with 420 additions and 697 deletions

View File

@@ -1423,6 +1423,9 @@ TEST_F(
bool hasPublicContextRecordScene = false;
bool hasPublicContextRecordScenePhase = false;
bool hasPublicContextRecordSceneInjectionPoint = false;
bool hasPublicContextDrawRenderersByType = false;
bool hasPublicContextDrawRenderersByDesc = false;
bool hasPublicContextDrawRenderersByDescAndSettings = false;
bool hasPublicContextRecordOpaqueScenePhase = false;
bool hasPublicContextRecordBeforeOpaqueInjection = false;
bool hasPublicContextRecordShaderVectorFullscreenPass = false;
@@ -1468,6 +1471,7 @@ TEST_F(
bool hasRenderGraphRasterPassBuilderCommit = false;
bool hasRenderGraphRasterContextType = false;
bool hasRenderGraphRasterContextCommandBuffer = false;
bool hasSceneRenderPhaseType = false;
bool hasSceneRenderInjectionPointType = false;
bool hasRenderPassProtectedRecordColorScaleFullscreenPass = false;
bool hasRenderPassProtectedRecordShaderVectorFullscreenPass = false;
@@ -1485,6 +1489,18 @@ TEST_F(
selectionScript,
"HasPublicContextRecordSceneInjectionPoint",
hasPublicContextRecordSceneInjectionPoint));
EXPECT_TRUE(runtime->TryGetFieldValue(
selectionScript,
"HasPublicContextDrawRenderersByType",
hasPublicContextDrawRenderersByType));
EXPECT_TRUE(runtime->TryGetFieldValue(
selectionScript,
"HasPublicContextDrawRenderersByDesc",
hasPublicContextDrawRenderersByDesc));
EXPECT_TRUE(runtime->TryGetFieldValue(
selectionScript,
"HasPublicContextDrawRenderersByDescAndSettings",
hasPublicContextDrawRenderersByDescAndSettings));
EXPECT_TRUE(runtime->TryGetFieldValue(
selectionScript,
"HasPublicContextRecordOpaqueScenePhase",
@@ -1665,6 +1681,10 @@ TEST_F(
selectionScript,
"HasRenderGraphRasterContextCommandBuffer",
hasRenderGraphRasterContextCommandBuffer));
EXPECT_TRUE(runtime->TryGetFieldValue(
selectionScript,
"HasSceneRenderPhaseType",
hasSceneRenderPhaseType));
EXPECT_TRUE(runtime->TryGetFieldValue(
selectionScript,
"HasSceneRenderInjectionPointType",
@@ -1685,6 +1705,9 @@ TEST_F(
EXPECT_FALSE(hasPublicContextRecordScene);
EXPECT_FALSE(hasPublicContextRecordScenePhase);
EXPECT_FALSE(hasPublicContextRecordSceneInjectionPoint);
EXPECT_TRUE(hasPublicContextDrawRenderersByType);
EXPECT_TRUE(hasPublicContextDrawRenderersByDesc);
EXPECT_TRUE(hasPublicContextDrawRenderersByDescAndSettings);
EXPECT_FALSE(hasPublicContextRecordOpaqueScenePhase);
EXPECT_FALSE(hasPublicContextRecordBeforeOpaqueInjection);
EXPECT_FALSE(hasPublicContextRecordShaderVectorFullscreenPass);
@@ -1730,6 +1753,7 @@ TEST_F(
EXPECT_TRUE(hasRenderGraphRasterPassBuilderCommit);
EXPECT_TRUE(hasRenderGraphRasterContextType);
EXPECT_TRUE(hasRenderGraphRasterContextCommandBuffer);
EXPECT_FALSE(hasSceneRenderPhaseType);
EXPECT_FALSE(hasSceneRenderInjectionPointType);
EXPECT_FALSE(hasRenderPassProtectedRecordColorScaleFullscreenPass);
EXPECT_FALSE(hasRenderPassProtectedRecordShaderVectorFullscreenPass);