Open sh-dave opened 7 months ago
My computer doesn't run into this problem (Windows/Vulkan/3080Ti) so I reverted the relevant change for now. But can you please check what VK_IMAGE_USAGE_STORAGE_BIT exactly caused the problem in Backends/Graphics5/Vulkan/.../texture.c.h?
Looks like cee6b0e5b09ac7405b7aed8b5bacbf453aac0cfe is working. I reverted back to 3fa0f4e926d0f204d66f76579b6579328d02fdc9 to get the error again, but I'm not quite sure what you're asking me to check. Here are some debug infos, hope that helps.
That's exactly what I wanted to know, thanks.
Describe the bug Using any of the kinc_g4_textureinit*() functions on my debian 11 + vulkan machine will result in a vulkan error message (see below)
To Reproduce Update Kinc in the Texture-Kinc and run.
Execution Environment:
Vulkan ERROR: Code -1094930823 : Validation Error: [ VUID-VkImageCreateInfo-imageCreateMaxMipLevels-02251 ] Object 0: handle = 0x55555ad66c78, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xbebcae79 | vkCreateImage(): Format VK_FORMAT_R8G8B8A8_UNORM is not supported for this combination of parameters and VkGetPhysicalDeviceImageFormatProperties returned back VK_ERROR_FORMAT_NOT_SUPPORTED. The Vulkan spec states: Each of the following values (as described in Image Creation Limits) must not be undefined imageCreateMaxMipLevels, imageCreateMaxArrayLayers, imageCreateMaxExtent, and imageCreateSampleCounts (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-VkImageCreateInfo-imageCreateMaxMipLevels-02251)