Skip to content

spirv-fuzz: Assertion 'in_operand.type == SPV_OPERAND_TYPE_ID' failed #3665

@andreperezmaselco

Description

@andreperezmaselco
spirv-fuzz: source/fuzz/id_use_descriptor.cpp:55: spvtools::fuzz::protobufs::IdUseDescriptor
spvtools::fuzz::MakeIdUseDescriptorFromUse(spvtools::opt::IRContext*, spvtools::opt::Instruction*, uint32_t):
Assertion `in_operand.type == SPV_OPERAND_TYPE_ID' failed.
Aborted (core dumped)

Debugging spirv-fuzz, I found that the assertion failed because in_operand was the first operand of an OpControlBarrier instruction and in_operand.type = SPV_OPERAND_TYPE_SCOPE_ID.

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