qt5base-lts/examples/vulkan/hellovulkantexture
Laszlo Agocs 414c058ca7 hellovulkantexture: Fix issues with new validation layer
Upgrading to a recent Vulkan SDK (e.g. 1.0.61) leads to getting
a few previously unseen warnings from the validation layers.

Fix these:

vkDebug: ParameterValidation: 8: vkCreateSampler(): The
samplerAnisotropy feature was not enabled at device-creation
time, so the maxAnisotropy member of the VkSamplerCreateInfo
structure must be 1.0 but is 0.000000.

vkDebug: DS: 461375808: vkCmdPipelineBarrier():
pImageMemBarriers[0].srcAccessMask (0x4000) is not supported by
srcStageMask (0x1). The spec valid usage text states 'Any given
element of pMemoryBarriers, pBufferMemoryBarriers or
pImageMemoryBarriers must not have any access flag included in
its srcAccessMask member if that bit is not supported by any of
the pipeline stages in srcStageMask, as specified in the table of
supported access types.'

vkDebug: DS: 6: vkCmdDraw(): Cannot use image 0x7 with specific
layout VK_IMAGE_LAYOUT_GENERAL that doesn't match the actual
current layout VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL.

vkDebug: DS: 61: Descriptor set 0xc encountered the following
validation error at vkCmdDraw() time: Image layout specified at
vkUpdateDescriptorSets() time doesn't match actual image layout
at time descriptor is used. See previous error callback for
specific details.

Change-Id: I1a3200221ac725c2fa661eff3ac075262b9355c2
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
2017-10-16 08:15:39 +00:00
..
hellovulkantexture.cpp hellovulkantexture: Fix issues with new validation layer 2017-10-16 08:15:39 +00:00
hellovulkantexture.h Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
hellovulkantexture.pro Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
hellovulkantexture.qrc Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
main.cpp Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
qt256.png Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
texture_frag.spv Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
texture_vert.spv Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
texture.frag Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
texture.vert Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00