Skip to content

Vulkan Validation warning for ComputeUniformsExample #12

Description

@Demorome
Validation Warning: [ Undefined-Value-StorageImage-FormatMismatch-ImageView ] | MessageID = 0x13365b2
vkCmdDispatch(): the storage image descriptor [VkDescriptorSet 0x87d000000087d, Set 1, Binding 0, Index 0, variable "OutImage"] is accessed by a OpTypeImage that has a Format operand Rgba32f (equivalent to VK_FORMAT_R32G32B32A32_SFLOAT) which doesn't match the VkImageView 0x7fa00000007fa format (VK_FORMAT_R8G8B8A8_UNORM). Any loads or stores with the variable will produce undefined values to the whole image (not just the texel being accessed).
Spec information at https://docs.vulkan.org/spec/latest/chapters/textures.html#textures-format-validation
Objects: 3
    [0] VkPipeline 0x7f400000007f4[GradientTexture.comp.hlsl]
    [1] VkDescriptorSet 0x87d000000087d
    [2] VkImageView 0x7fa00000007fa

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions