feat: add STEP-093 runtime validation tooling

This commit is contained in:
tei
2026-09-24 14:39:39 +09:00
parent 8a5d88008c
commit b3ec8edc87
20 changed files with 765 additions and 24 deletions

View File

@@ -19,15 +19,33 @@ struct RetainedUnderlayDiagnostics {
std::string endLayerId;
int32_t startIndex = -1;
int32_t endIndex = -1;
int32_t continuousBegin = -1;
int32_t continuousEndExclusive = -1;
bool bottomPresent = false;
std::string bottomCacheState{"disabled"};
uint64_t bottomBuild = 0;
uint64_t bottomReuse = 0;
uint64_t bottomInvalidation = 0;
std::string bottomLastInvalidationReason{"none"};
uint64_t bottomTextureCreate = 0;
uint64_t bottomCompositeCreate = 0;
uint64_t bottomResourceRelease = 0;
bool topPresent = false;
std::string topCacheState{"disabled"};
uint64_t topBuild = 0;
uint64_t topReuse = 0;
uint64_t topInvalidation = 0;
std::string topLastInvalidationReason{"none"};
uint64_t topTextureCreate = 0;
uint64_t topCompositeCreate = 0;
uint64_t topResourceRelease = 0;
bool rangeFallback = false;
bool fastPathEligible = false;
bool fastPathActive = false;
std::string fastPathFallbackReason{"no-prepared-tree"};
uint64_t fastPathHit = 0;
uint64_t fastPathMiss = 0;
uint64_t fullCpuFrame = 0;
};
struct ContinuousLayerRangeConfig {