While porting an engine from a pre-release v2.1 Ogre version to 3.0 I noticed that if I pass an invalid format such as PFG_RGB8_UNORM to VulkanTextureGpu::createInternalResourcesImpl() then imageInfo.format = VulkanMappings::get( finalPixelFormat ); returns VK_FORMAT_UNDEFINED which gets passed in vkCreateImage() as value in VkImageCreateInfo.
This returns success somehow but presumably with rendering errors later (I don't know for sure since I have more than one rendering issues at this time so I can't say for certain which is coming from this).
When trying the same code with the dedicated nVidia graphics I get a crash. (which in this case it's preferrable).
AMD laptop GPU:
AMD Radeon Vega
Codename Cezanne with CPU 5800H integrated GPU.
AMD Software Driver Version: 24.9.1
Nvidia GPU:
NVIDIA GeForce RTX 3070 Laptop
Driver Version: 32.0.15.7283 (GeForce 572.83)