mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-18 07:23:24 +09:00
Merge branch 'p5e/pg' into feat/disaggregated (P5e pg)
# Conflicts: # MobileGL/MG_Backend/DirectGLES/DirectGLES.cpp # MobileGL/MG_Test/Pipe/PipeCatalogueTest.cpp
This commit is contained in:
@@ -266,7 +266,12 @@ TEST(PipeCatalogue, ExactlyTheRoutedRowsAreInstalledAndTheRestAreStillNull) {
|
||||
for (SizeT i = 0; i < sizeof(MGPipeRouteEscapes) / sizeof(void*); ++i) {
|
||||
if (escapes[i] != nullptr) ++escapesInstalled;
|
||||
}
|
||||
EXPECT_EQ(escapesInstalled, 4u) << "an escape row is null; its call site would take a null "
|
||||
// P5e (pg) MADE IT FIVE: set_program_bindings carries three tails in three index spaces
|
||||
// plus a parallel name array, which no generated (payload, varTail, varTailCount) row can
|
||||
// express - so opcode 80's `gMGPipeContext` slot stays null (pinned below, unchanged) and
|
||||
// its adapter lives in the escape table beside create_shader_state's. The applier's entry
|
||||
// points are 39 with it.
|
||||
EXPECT_EQ(escapesInstalled, 5u) << "an escape row is null; its call site would take a null "
|
||||
"pointer rather than fall back to anything";
|
||||
EXPECT_EQ(installed + escapesInstalled, 39u)
|
||||
<< "the two tables plus the escapes must be exactly PipeApply.h's bodied entry points";
|
||||
|
||||
Reference in New Issue
Block a user