anv/pass: Initialize has_resolve
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 30 Jan 2016 15:16:33 +0000 (07:16 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 30 Jan 2016 15:16:33 +0000 (07:16 -0800)
src/vulkan/anv_pass.c

index a8e85664d48b95aa67ad1c1fe700170d59cf1ae9..d07e9fec6cccf881b22a0d7a2cd85b36d5c14009 100644 (file)
@@ -113,6 +113,7 @@ VkResult anv_CreateRenderPass(
          }
       }
 
+      subpass->has_resolve = false;
       if (desc->pResolveAttachments) {
          subpass->resolve_attachments = p;
          p += desc->colorAttachmentCount;