Commit ba1e049f by Ian Elliott

Vulkan: Fix compilation error

Two commits conflicted and the bots didn't catch it somehow Bug: b/163854287 Change-Id: Idb4d7802eec71b2112b11e4553e609b532cee070 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2369261Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 296d3bfd
...@@ -2358,7 +2358,7 @@ void FramebufferVk::restoreDepthStencilDefinedContents() ...@@ -2358,7 +2358,7 @@ void FramebufferVk::restoreDepthStencilDefinedContents()
// If the depthStencilRenderTarget does not have "defined content" (i.e. meaning that a future // If the depthStencilRenderTarget does not have "defined content" (i.e. meaning that a future
// render pass should use a loadOp of DONT_CARE), we should restore it (i.e. so that a future // render pass should use a loadOp of DONT_CARE), we should restore it (i.e. so that a future
// render pass uses a loadOp of LOAD). // render pass uses a loadOp of LOAD).
RenderTargetVk *depthStencilRenderTarget = mRenderTargetCache.getDepthStencil(true); RenderTargetVk *depthStencilRenderTarget = mRenderTargetCache.getDepthStencil();
if (depthStencilRenderTarget) if (depthStencilRenderTarget)
{ {
depthStencilRenderTarget->restoreEntireContent(); depthStencilRenderTarget->restoreEntireContent();
......
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