Skip to content

ICE on bool Input params #790

Closed
Closed
@khyperia

Description

@khyperia
#[spirv(vertex)]
pub fn vertex(
    #[spirv(front_facing)] front_facing: bool,
    #[spirv(fully_covered_ext)] fully_covered_ext: bool,
    #[spirv(helper_invocation)] helper_invocation: bool,
) {}
thread 'rustc' panicked at 'Expected types to be equal:
u8
==
bool', crates/rustc_codegen_spirv/src/builder/builder_methods.rs:2182:13

Those three are required (by the builtin) to be actual proper bools, so can't work around using ints. Found in #789

Outputs, etc., are also probably broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    t: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions