Skip to content

aliases with negative constant doesn't work #2

@jramstedt

Description

@jramstedt

Example:

alias fc2, CONST1(-1.0, 2.0, 0.0, 0.0);

tex ft2, texcoord, normalmap <2d, clamp, linear>
mul ft2.xyz, ft2.xyz, 2.0
add ft2.xyz, ft2.xyz, -1.0

Gives

Error: Numeric constant used that is not declared in a constant register.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions