I use the QQuickRenderTarget::fromVulkanImage make a VkImage object to a QQuickWindow render target, but I get the follow error messages from the Vulkan:
The consequences of this bug can be seen here: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3538
It tell me the VkFormat of VkImageView is not right, the source VkImage format is VK_FORMAT_B8G8R8A8_SRGB, but the VkImageViewCreateInfo provided "format" value is VK_FORMAT_R8G8B8A8_UNORM, and no ways to set the VkFormat of VkImage in QQuickRenderTarget. Other, the QSGPlainTexture::setTextureFromNativeTexture also can't custom the format of native texture. The QQuickRenderTargetPrivate::resolve and the QSGPlainTexture::setTextureFromNativeTexture always use the "QRhiTexture::RGBA8" and without "QRhiTexture::sRGB" flag for "QRhiTexture::createTexture". Do you think we can allow to custom the texture color format?