Commit 2ec817bb by Tobin Ehlis Committed by Commit Bot

Remove writeResource down readPixels path

This is not needed and results in creating an empty command buffer. Bug: angleproject:2818 Change-Id: I06e5542cb3cd819c18758c909b8fcb624b074874 Reviewed-on: https://chromium-review.googlesource.com/1232981Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Tobin Ehlis <tobine@google.com>
parent 2c8f0845
......@@ -359,9 +359,6 @@ gl::Error FramebufferVk::readPixels(const gl::Context *context,
const gl::State &glState = context->getGLState();
vk::CommandBuffer *commandBuffer = nullptr;
ANGLE_TRY(beginWriteResource(contextVk, &commandBuffer));
gl::PixelPackState packState(glState.getPackState());
if (contextVk->isViewportFlipEnabledForReadFBO())
{
......
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