Commit 6619c464 by Gert Wollny Committed by Angle LUCI CQ

FrameCapture: Write the frame cpp file even if frame is empty

The index file will add a reference to this file, and the replay will also expect that the frame execution function and the context function exist, so write the file even if the frame is empty Bug: angleproject:5939 Change-Id: I265d061fdae51b86131d145116ad1c0f9ca8c93f Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2882581 Commit-Queue: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 447b730c
...@@ -4589,7 +4589,7 @@ void FrameCapture::onEndFrame(const gl::Context *context) ...@@ -4589,7 +4589,7 @@ void FrameCapture::onEndFrame(const gl::Context *context)
} }
// Note that we currently capture before the start frame to collect shader and program sources. // Note that we currently capture before the start frame to collect shader and program sources.
if (!mFrameCalls.empty() && isCaptureActive()) if (isCaptureActive())
{ {
if (mIsFirstFrame) if (mIsFirstFrame)
{ {
......
...@@ -100,9 +100,6 @@ EGLProgramCacheControlTest.SaveAndReload/* ...@@ -100,9 +100,6 @@ EGLProgramCacheControlTest.SaveAndReload/*
LineLoopTest.DISABLED_DrawArraysWithLargeCount/* LineLoopTest.DISABLED_DrawArraysWithLargeCount/*
MipmapTest.DISABLED_ThreeLevelsInitData/* MipmapTest.DISABLED_ThreeLevelsInitData/*
# Compile failed tests
RobustResourceInitTest.SurfaceInitializedAfterSwap/*
# ES1 crashed tests # ES1 crashed tests
FramebufferObjectTest.FramebufferObject/* FramebufferObjectTest.FramebufferObject/*
FramebufferObjectTest.RenderbufferObject/* FramebufferObjectTest.RenderbufferObject/*
......
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