Capture/Replay: Only perform call updates on valid calls.

Bug: angleproject:5133
Change-Id: Ib1a6ae1ca9ff9717c4e51f8908f5a4ee132d72ab
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3035443
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Jamie Madill 2021-07-16 12:33:11 -04:00 коммит произвёл Angle LUCI CQ
Родитель 2ce8181788
Коммит 3bd2273b4f
2 изменённых файлов: 3 добавлений и 7 удалений

Просмотреть файл

@ -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)

Просмотреть файл

@ -60,7 +60,6 @@ GLSLTest.ZeroShaderLength/*
GPUTestConfigTest.GPUTestConfigConditions_D3D11/*
ImageTest.SourceCubeTargetExternal/*
PBOExtensionTest.*
RobustBufferAccessBehaviorTest.*
Texture2DTest.DefineMultipleLevelsWithoutMipmapping/*
VertexAttributeTest.*