Skip to content

[Sync] the foveation branch's test fix into develop (e7118fa8: the render test setup resets the immersion style) - #79

Merged
miogds merged 2 commits into
developfrom
sync/foveation_test_fix_1016
Oct 16, 2026
Merged

miogds merged 2 commits into
developfrom
sync/foveation_test_fix_1016

Conversation

@miogds

@miogds miogds commented Oct 16, 2026

Copy link
Copy Markdown
Member

Brings the one commit of untoldengine#1359's branch that develop still lacks after #78, which merged before this commit reached its branch.

e7118fa8, test files only: RenderGraphBuilderTest.testSupportedRenderExtensionStagesResolveAcrossImmersionModes loops the immersion modes and left renderInfo.immersionStyle at .ar, and nothing reset it, so every later render test in the same process drew the AR graph; behind that class the temporal rate-map test failed in serial runs. BaseRenderSetup now resets the style with the other per-test globals, and the case restores what it found. CI never saw the failure because the render tests run one process per method there.

Merged clean; no engine code changes. After this, develop holds the whole foveation branch.

Javier Segura added 2 commits October 16, 2026 07:57
…raph builder's immersion-mode case left at AR

RenderGraphBuilderTest's testSupportedRenderExtensionStagesResolveAcrossImmersionModes
tries .none, .mixed, .full and .ar in turn and left renderInfo.immersionStyle at the
last one. Nothing reset it: resetGlobalEngineState did not touch it and the renderer
created for the next test keeps it, so every later test in the same process drew the
AR base pass. In a serial run the temporal rate-map test failed behind that class
(lit pixels lost to a history drawn through the other map); CI never saw it because
it runs each render test method in its own process.

The base setup now resets the style to .none with the other per-test globals, and the
case restores what it found.
…e render test setup resets the immersion style a graph builder case left at AR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant