Skip to content

Crash compiling shader #8940

Description

The following shader causes the compiler to crash:

Repro: https://godbolt.org/z/PK3KW4Exr

// -T ps_6_6
float4 main() : SV_TARGET {
  float4 arr[2] = {1,2,3,4,5,6,7,8};
  arr[0][(int)float1(7)] = 9.0;
  return arr[0];
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions