<div dir="ltr">R-B<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 23, 2016 at 1:56 PM, Chad Versace <span dir="ltr"><<a href="mailto:chad.versace@intel.com" target="_blank">chad.versace@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Will be needed for resolving auxiliary surfaces.<br>
<br>
I didn't add anv_render_pass_attachment::stencil_store_op, as the driver<br>
would likely never use it, as stencil surfaces never have auxiliary<br>
surfaces.<br>
---<br>
src/intel/vulkan/anv_pass.c | 3 +--<br>
src/intel/vulkan/anv_private.h | 1 +<br>
2 files changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/intel/vulkan/anv_pass.c b/src/intel/vulkan/anv_pass.c<br>
index b740754..69c3c7e 100644<br>
--- a/src/intel/vulkan/anv_pass.c<br>
+++ b/src/intel/vulkan/anv_pass.c<br>
@@ -60,9 +60,8 @@ VkResult anv_CreateRenderPass(<br>
att->format = pCreateInfo->pAttachments[i].format;<br>
att->samples = pCreateInfo->pAttachments[i].samples;<br>
att->load_op = pCreateInfo->pAttachments[i].loadOp;<br>
+ att->store_op = pCreateInfo->pAttachments[i].storeOp;<br>
att->stencil_load_op = pCreateInfo->pAttachments[i].stencilLoadOp;<br>
- // att->store_op = pCreateInfo->pAttachments[i].storeOp;<br>
- // att->stencil_store_op = pCreateInfo->pAttachments[i].stencilStoreOp;<br>
}<br>
<br>
uint32_t subpass_attachment_count = 0, *p;<br>
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h<br>
index 50b860c..8c2ffd8 100644<br>
--- a/src/intel/vulkan/anv_private.h<br>
+++ b/src/intel/vulkan/anv_private.h<br>
@@ -1812,6 +1812,7 @@ struct anv_render_pass_attachment {<br>
VkFormat format;<br>
uint32_t samples;<br>
VkAttachmentLoadOp load_op;<br>
+ VkAttachmentStoreOp store_op;<br>
VkAttachmentLoadOp stencil_load_op;<br>
};<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
2.9.0.rc2<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>