diff --git a/src/libANGLE/capture/FrameCapture.cpp b/src/libANGLE/capture/FrameCapture.cpp index c93bf9804..774db1abf 100644 --- a/src/libANGLE/capture/FrameCapture.cpp +++ b/src/libANGLE/capture/FrameCapture.cpp @@ -5040,21 +5040,18 @@ void FrameCaptureShared::captureCall(const gl::Context *context, return; } - maybeOverrideEntryPoint(context, call); - - maybeCapturePreCallUpdates(context, call); - if (isCallValid) { + maybeOverrideEntryPoint(context, call); + maybeCapturePreCallUpdates(context, call); mFrameCalls.emplace_back(std::move(call)); + maybeCapturePostCallUpdates(context); } else { INFO() << "FrameCapture: Not capturing invalid call to " << GetEntryPointName(call.entryPoint); } - - maybeCapturePostCallUpdates(context); } void FrameCaptureShared::maybeCapturePostCallUpdates(const gl::Context *context) diff --git a/src/tests/capture_replay_tests/capture_replay_expectations.txt b/src/tests/capture_replay_tests/capture_replay_expectations.txt index ea0411d5a..c513bf473 100644 --- a/src/tests/capture_replay_tests/capture_replay_expectations.txt +++ b/src/tests/capture_replay_tests/capture_replay_expectations.txt @@ -60,7 +60,6 @@ GLSLTest.ZeroShaderLength/* GPUTestConfigTest.GPUTestConfigConditions_D3D11/* ImageTest.SourceCubeTargetExternal/* PBOExtensionTest.* -RobustBufferAccessBehaviorTest.* Texture2DTest.DefineMultipleLevelsWithoutMipmapping/* VertexAttributeTest.*