https://bugs.freedesktop.org/show_bug.cgi?id=109822

Mike Mestnik <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|NOTABUG                     |---
             Status|RESOLVED                    |REOPENED

--- Comment #3 from Mike Mestnik <[email protected]> 
---
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.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to