Skip to content

Automatically include used capabilities when covered by vulkan target version spec #386

@LegNeato

Description

@LegNeato

Discussed in #385

Originally posted by nazar-pc September 15, 2025
I'm getting the following error:

error: error:0:0 - Operand 3 of Decorate requires one of these capabilities: Kernel GroupNonUniform 
         OpDecorate %subgroup_id BuiltIn SubgroupId

If my understanding is correct, this capability is already included by default in spirv-unknown-vulkan1.3 target that I'm using.

Is this a bug in rust-gpu, spirv-opt or am I missing something?

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