qt5base-lts/examples/vulkan
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
..
doc Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
hellovulkancubes QVulkanWindow: return QMatrix4x4 by value 2017-05-22 09:23:15 +00:00
hellovulkantexture hellovulkantexture: Fix issues with new validation layer 2017-10-16 08:15:39 +00:00
hellovulkantriangle Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
hellovulkanwidget QVulkanWindow: use QVector, not QSet, for small int set 2017-05-22 08:50:05 +00:00
hellovulkanwindow Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
shared QVulkanWindow: return QMatrix4x4 by value 2017-05-22 09:23:15 +00:00
vulkan.pro Add the Vulkan cube example 2017-03-29 10:58:06 +00:00