Skip to content

kinc_g4_texture_init_*() vulkan errors #850

@sh-dave

Description

@sh-dave

Describe the bug
Using any of the kinc_g4_texture_init_*() 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:

  • Host system (where you compile your code): deb11
  • Target system (where you run your code): deb11
  • Kinc revision: bee05c3
  • Application output (if it runs):
Running with Vulkan validation layers enabled.
Chosen Vulkan device: Quadro K2200
Failed to find extension VK_KHR_format_feature_flags2

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions