[Test] (P8-A): register the monolith-only integration cases on the split, spawn and tcp arms (P8Coverage.cmake: 246 ambient cases, five server-knob lanes each on its own tcp supervisor), retire the ClientSideIndices and GuiBatch exclusions, and gate the rest with split_coverage.py and its exemption table

This commit is contained in:
2026-09-29 22:14:31 -04:00
parent 8d3e2317a6
commit 976fbe4cd4
5 changed files with 668 additions and 16 deletions
+28 -16
View File
@@ -2587,8 +2587,8 @@ if (MOBILEGL_BUILD_DISAGGREGATED)
# had no split coverage at all, so every claim about it was a reading of the code rather than
# a run of it. Arming the lanes is the first half of the work and the census is the second:
# what reds here IS the remaining worklist, and each red is either D1's to fix or excluded BY
# NAME with the Fatal quoted, the way the d1 draw block excludes
# MultiDrawScenario.ClientSideIndicesBatchMatchesUnrolledDraws.
# NAME with the Fatal quoted, the way the d1 draw block excluded
# MultiDrawScenario.ClientSideIndicesBatchMatchesUnrolledDraws until P8-A.
mgl_itest_register_split_arms("PixelStoreSweepScenario.*" "")
mgl_itest_register_split_arms("PackedWordReadbackScenario.*" "")
mgl_itest_register_split_arms("LayeredTextureReadbackScenario.*" "")
@@ -2627,7 +2627,12 @@ if (MOBILEGL_BUILD_DISAGGREGATED)
# left all of them passing. A split arm that inherited the ambient default would be measuring
# the same non-path three more times. So the pin is MIRRORED here, which is what the plan's
# row asks for.
foreach(mglItestDsArm IN LISTS MGL_ITEST_MAGMA_ARMS)
#
# P8-A: SPLIT AND SPAWN ONLY HERE. The knob is read by the server, and the Tcp arm's server
# is the lane-wide fixture, so a Tcp copy registered here ran the NATIVE readback under the
# ForcedDs. name. The same-named Tcp entries are registered in P8Coverage.cmake, against a
# supervisor started with the knob.
foreach(mglItestDsArm Split Spawn)
mgl_itest_magma_arm_shape(${mglItestDsArm})
string(TOLOWER "${mglItestDsArm}" mglItestDsArmLower)
mgl_itest_join_environment(mglItestDsEnvironment
@@ -2755,19 +2760,20 @@ if (MOBILEGL_BUILD_DISAGGREGATED)
# the two multi-draws, an indirect draw), so a record that did not cross is a wrong picture
# and not a green. MultiDrawScenario, DrawParametersScenario and PrimitiveRestartScenario are
# the census's own DrawElements / MultiDrawElementsBaseVertex / DrawArraysInstancedBaseInstance
# / MultiDraw*Indirect* first-blocker scenarios, now at their pictures. The ONE case excluded
# by filter is MultiDrawScenario's ClientSideIndicesBatchMatchesUnrolledDraws: a multi-draw
# with client-side indices is refused BY NAME under split (Fatal{UnmigratedVerb,
# "MultiDrawElementsBaseVertex+CLIENT_INDICES"}, CONTRACT-P5B.md d1 - P8's HostResolve.cpp
# flattens it), which is its next first blocker and not a lane failure. It is listed in
# d1-v1.md, not deleted (G14). GuiBatchScenario (the census's other DrawElements scenario) is
# NOT registered: past its draws it stops at Fatal{UnmigratedVerb, "MemoryBarrier"}, which is
# i1's to flip; i1 registers it when that lands.
# / MultiDraw*Indirect* first-blocker scenarios, now at their pictures. The whole of
# MultiDrawScenario is here since P8-A: its ClientSideIndicesBatchMatchesUnrolledDraws was
# excluded while a multi-draw with client-side indices was refused BY NAME under split
# (Fatal{UnmigratedVerb, "MultiDrawElementsBaseVertex+CLIENT_INDICES"}), and the client now
# flattens every sub-draw's client indices into one owned element buffer before the record is
# emitted (EmitTables.cpp's EmitMultiIndexedDraw, OwnedDrawInputs.h), so the
# server's CLIENT_INDICES latch is unreachable from our client and this case is the entry that
# would see it come back. GuiBatchScenario (the census's other DrawElements scenario) waited
# on Fatal{UnmigratedVerb, "MemoryBarrier"}; that verb has crossed since i1 and class C is
# empty, so P8Coverage.cmake registers it with the other monolith-only cases.
set(MGL_SPLIT_D1_SCENARIOS IndexedDrawFamilyScenario MultiDrawScenario DrawParametersScenario
PrimitiveRestartScenario)
set(MGL_SPLIT_D1_FILTER_IndexedDrawFamilyScenario "IndexedDrawFamilyScenario.*")
set(MGL_SPLIT_D1_FILTER_MultiDrawScenario
"MultiDrawScenario.*-MultiDrawScenario.ClientSideIndicesBatchMatchesUnrolledDraws")
set(MGL_SPLIT_D1_FILTER_MultiDrawScenario "MultiDrawScenario.*")
set(MGL_SPLIT_D1_FILTER_DrawParametersScenario "DrawParametersScenario.*")
set(MGL_SPLIT_D1_FILTER_PrimitiveRestartScenario "PrimitiveRestartScenario.*")
foreach(mglItestD1Scenario IN LISTS MGL_SPLIT_D1_SCENARIOS)
@@ -2810,8 +2816,9 @@ if (MOBILEGL_BUILD_DISAGGREGATED)
# THE FILTER IS THE TIER-SENSITIVE WORKLOAD and nothing else, which is this file's own rule
# for an armed Split entry: MultiDrawScenario (its whole point is that a batch matches the
# unrolled draws, which is precisely what a wrong index buffer breaks quietly) and
# IndexedDrawFamilyScenario's three MultiDraw cases. The client-side-indices case keeps the
# d1 block's exclusion - it is refused by name under split before any tier is chosen.
# IndexedDrawFamilyScenario's three MultiDraw cases. The client-side-indices case joined with
# the d1 block's (P8-A): its flattened indices arrive as one owned element buffer, which is
# exactly the bound index buffer each tier asks its questions of.
#
# NOTE FOR THE STRICT-MARKER CENSUS (PREAMBLE-ADDENDUM-WAVE3 §4): these entries carry a THIRD
# name segment, so `strict_census2.sh` re-derives their gtest filter from the last two
@@ -2827,7 +2834,7 @@ if (MOBILEGL_BUILD_DISAGGREGATED)
set(MGL_SPLIT_MULTIDRAW_TIER_PREFIX_drawelements "DrawElements")
set(MGL_SPLIT_MULTIDRAW_TIER_PREFIX_compute "Compute")
set(MGL_SPLIT_MULTIDRAW_TIER_FILTER
"MultiDrawScenario.*:IndexedDrawFamilyScenario.MultiDraw*-MultiDrawScenario.ClientSideIndicesBatchMatchesUnrolledDraws")
"MultiDrawScenario.*:IndexedDrawFamilyScenario.MultiDraw*")
foreach(mglItestMultiDrawTier IN LISTS MGL_SPLIT_MULTIDRAW_TIERS)
mgl_itest_join_environment(MGL_ITEST_GLES_SPLIT_MULTIDRAW_ENVIRONMENT
"MOBILEGL_BACKEND_TYPE=DirectGLES" "MOBILEGL_TRANSPORT=inproc" "MOBILEGL_ITEST_REQUIRE_GPU=1"
@@ -4648,6 +4655,11 @@ if (MOBILEGL_BUILD_DISAGGREGATED)
endforeach()
endif()
# P8-A
if (MOBILEGL_BUILD_DISAGGREGATED)
include(${CMAKE_CURRENT_SOURCE_DIR}/P8Coverage.cmake)
endif()
# =====================================================================================
# P7 PACKAGE L: THE INFORMATIONAL MAGMA CENSUS - TIER 2 OF TWO
# =====================================================================================