Commit 31cd0e98 by Gert Wollny Committed by Commit Bot

Capture/Replay: track robustResourceInit

Bug: angleproject:5938 Change-Id: I7c9ab9bebd1ec2dc572a071844a860f99d0befe6 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2882580Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Cody Northrop <cnorthrop@google.com>
parent 3d082a10
...@@ -1229,6 +1229,8 @@ void WriteCppReplayIndexFiles(bool compression, ...@@ -1229,6 +1229,8 @@ void WriteCppReplayIndexFiles(bool compression,
<< (context->getState().isBindGeneratesResourceEnabled() ? "true" : "false") << ";\n"; << (context->getState().isBindGeneratesResourceEnabled() ? "true" : "false") << ";\n";
header << "constexpr bool kWebGLCompatibility = " header << "constexpr bool kWebGLCompatibility = "
<< (context->getState().getExtensions().webglCompatibility ? "true" : "false") << ";\n"; << (context->getState().getExtensions().webglCompatibility ? "true" : "false") << ";\n";
header << "constexpr bool kRobustResourceInit = "
<< (context->getState().isRobustResourceInitEnabled() ? "true" : "false") << ";\n";
header << "// End Trace Metadata\n"; header << "// End Trace Metadata\n";
header << "\n"; header << "\n";
......
...@@ -99,6 +99,7 @@ test_trace_info_init_template = """\ ...@@ -99,6 +99,7 @@ test_trace_info_init_template = """\
{namespace}::kAreClientArraysEnabled, {namespace}::kAreClientArraysEnabled,
{namespace}::kbindGeneratesResources, {namespace}::kbindGeneratesResources,
{namespace}::kWebGLCompatibility, {namespace}::kWebGLCompatibility,
{namespace}::kRobustResourceInit,
}}, }},
""" """
...@@ -129,6 +130,7 @@ struct TestTraceInfo {{ ...@@ -129,6 +130,7 @@ struct TestTraceInfo {{
bool areClientArraysEnabled; bool areClientArraysEnabled;
bool bindGeneratesResources; bool bindGeneratesResources;
bool webGLCompatibility; bool webGLCompatibility;
bool robustResourceInit;
}}; }};
extern std::vector<TestTraceInfo> testTraceInfos; extern std::vector<TestTraceInfo> testTraceInfos;
......
...@@ -86,6 +86,7 @@ class CaptureReplayTests ...@@ -86,6 +86,7 @@ class CaptureReplayTests
configParams.clientArraysEnabled = testTraceInfo.areClientArraysEnabled; configParams.clientArraysEnabled = testTraceInfo.areClientArraysEnabled;
configParams.bindGeneratesResource = testTraceInfo.bindGeneratesResources; configParams.bindGeneratesResource = testTraceInfo.bindGeneratesResources;
configParams.webGLCompatibility = testTraceInfo.webGLCompatibility; configParams.webGLCompatibility = testTraceInfo.webGLCompatibility;
configParams.robustResourceInit = testTraceInfo.robustResourceInit;
mPlatformParams.renderer = testTraceInfo.replayPlatformType; mPlatformParams.renderer = testTraceInfo.replayPlatformType;
mPlatformParams.deviceType = testTraceInfo.replayDeviceType; mPlatformParams.deviceType = testTraceInfo.replayDeviceType;
......
...@@ -90,7 +90,7 @@ LineLoopTest.DISABLED_DrawArraysWithLargeCount/* ...@@ -90,7 +90,7 @@ LineLoopTest.DISABLED_DrawArraysWithLargeCount/*
MipmapTest.DISABLED_ThreeLevelsInitData/* MipmapTest.DISABLED_ThreeLevelsInitData/*
# Compile failed tests # Compile failed tests
RobustResourceInitTest.* RobustResourceInitTest.SurfaceInitializedAfterSwap/*
# ES1 crashed tests # ES1 crashed tests
FramebufferObjectTest.FramebufferObject/* FramebufferObjectTest.FramebufferObject/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment