Commit 97123e3f by Shahbaz Youssefi Committed by Commit Bot

Vulkan: Fix support for framebuffer discard extension

Bug: angleproject:3664 Change-Id: Ifc08a53771c1e114c4169780e7fc984f2552b263 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1688182Reviewed-by: 's avatarMichael Spang <spang@chromium.org> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent bb5389b7
...@@ -182,8 +182,7 @@ angle::Result FramebufferVk::discard(const gl::Context *context, ...@@ -182,8 +182,7 @@ angle::Result FramebufferVk::discard(const gl::Context *context,
size_t count, size_t count,
const GLenum *attachments) const GLenum *attachments)
{ {
ANGLE_VK_UNREACHABLE(vk::GetImpl(context)); return invalidate(context, count, attachments);
return angle::Result::Stop;
} }
angle::Result FramebufferVk::invalidate(const gl::Context *context, angle::Result FramebufferVk::invalidate(const gl::Context *context,
......
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