Hash :
d85de0e9
Author :
Date :
2023-08-09T14:15:56
Capture/Replay: Add optional replay of trimmed resources
This CL:
- Adds '--include-inactive-resources' option to
angle_trace_tests
- Removes the 'trim-enabled' option
- Outputs all previously trimmed shaders/programs to trace file
in a new Setup function, SetupReplayContextSharedInactive()
which is executed only if the new option is specified
- Modifies CaptureTest to add inactive resources, but does not
set the include-inactive-resources flag
Bug: b/296055694
Change-Id: I33b18d5da727d55c90c2012c2bf64b1413521429
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4781552
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Mark Łobodziński <mark@lunarg.com>
Reviewed-by: Roman Lavrov <romanl@google.com>
{
"TraceMetadata": {
"AreClientArraysEnabled": true,
"CaptureRevision": 21691,
"ConfigAlphaBits": 8,
"ConfigBlueBits": 8,
"ConfigDepthBits": 24,
"ConfigGreenBits": 8,
"ConfigRedBits": 8,
"ConfigStencilBits": 8,
"ContextClientMajorVersion": 3,
"ContextClientMinorVersion": 0,
"DisplayDeviceType": "0x320A",
"DisplayPlatformType": "0x3450",
"DrawSurfaceColorSpace": "0x308A",
"DrawSurfaceHeight": 128,
"DrawSurfaceWidth": 128,
"FrameEnd": 4,
"FrameStart": 1,
"IsBinaryDataCompressed": false,
"IsBindGeneratesResourcesEnabled": true,
"IsRobustResourceInitEnabled": true,
"IsWebGLCompatibilityEnabled": false
},
"TraceFiles": [
"CapturedTest_MultiFrame_ES3_Vulkan.cpp",
"CapturedTest_MultiFrame_ES3_Vulkan.h",
"CapturedTest_MultiFrame_ES3_Vulkan_001.cpp",
"CapturedTest_MultiFrame_ES3_Vulkan_shared.cpp"
],
"WindowSurfaceContextID": 1
}