[Mesa-dev] [Bug 109822] Texture holes in simple vulkan examples.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Mar 3 21:13:48 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=109822
Mike Mestnik <cheako+bugs_freedesktop_org at mikemestnik.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|NOTABUG |---
Status|RESOLVED |REOPENED
--- Comment #3 from Mike Mestnik <cheako+bugs_freedesktop_org at mikemestnik.net> ---
I fixed the validation warnings and the bug remains.
Here is the corrected source.
https://github.com/cheako/cheako-vulkan/blob/16b794089cbffc63e81af66ae8fcb1cd118e607c/0005texture/vulkan.c
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};
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190303/47798703/attachment-0001.html>
More information about the mesa-dev
mailing list