<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:cheako+bugs_freedesktop_org@mikemestnik.net" title="Mike Mestnik <cheako+bugs_freedesktop_org@mikemestnik.net>"> <span class="fn">Mike Mestnik</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Texture holes in simple vulkan examples."
href="https://bugs.freedesktop.org/show_bug.cgi?id=109822">bug 109822</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>NOTABUG
</td>
<td>---
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Texture holes in simple vulkan examples."
href="https://bugs.freedesktop.org/show_bug.cgi?id=109822#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Texture holes in simple vulkan examples."
href="https://bugs.freedesktop.org/show_bug.cgi?id=109822">bug 109822</a>
from <span class="vcard"><a class="email" href="mailto:cheako+bugs_freedesktop_org@mikemestnik.net" title="Mike Mestnik <cheako+bugs_freedesktop_org@mikemestnik.net>"> <span class="fn">Mike Mestnik</span></a>
</span></b>
<pre>I fixed the validation warnings and the bug remains.
Here is the corrected source.
<a href="https://github.com/cheako/cheako-vulkan/blob/16b794089cbffc63e81af66ae8fcb1cd118e607c/0005texture/vulkan.c">https://github.com/cheako/cheako-vulkan/blob/16b794089cbffc63e81af66ae8fcb1cd118e607c/0005texture/vulkan.c</a>
Changes are:
sampler_info.anisotropyEnable = VK_FALSE;
image_create_info.initialLayout = VK_IMAGE_LAYOUT_PREINITIALIZED;
Applied an image memor barrier to the first run.
barriers[0].sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER;
barriers[0].dstAccessMask = VK_ACCESS_SHADER_READ_BIT;
barriers[0].oldLayout = VK_IMAGE_LAYOUT_PREINITIALIZED;
barriers[0].newLayout = VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL;
barriers[0].image = texture_images[0];
barriers[0].subresourceRange =
(VkImageSubresourceRange){VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1};</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>