Skip to content

Passing int4 constants to dst causes ICE #8428

@pema99

Description

@pema99

Description
Passing dst 2 int4 arguments causes a stack overflow.

Steps to Reproduce
Shader:

[shader("pixel")]
void PSMain() {
    int4 r = dst(int4(1, 2, 3, 4), int4(5, 6, 7, 8));
    if (r.x != 1) discard;
}

Command: dxc.exe -T ps_6_6 -E PSMain dst_int4.hlsl

Actual Behavior

Internal compiler error: stack overflow

Environment

  • dxcompiler.dll: 1.9(5184-21d28f72)(1.9.2602.17) - 1.9.2602.17 (21d28f727)
  • Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug, regression, crashneeds-triageAwaiting triage

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions