Skip to content

[FXC] saturate() on vectors is broken in FXC debug mode, and mojoshader doesn't work around it #10

Open
@kg

Description

@kg

This might be an upstream bug.

    // FIXME: MojoShader workaround
    if (0) {
        value = saturate(value);
    } else {
        value = float3(saturate(value.r), saturate(value.g), saturate(value.b));
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions