Skip to content

Invalid floating type error when compiling shader #7915

@mbouchard2

Description

@mbouchard2

Description
Currently getting following error when compiling shader:
error: Invalid floating type
UNREACHABLE executed at C:__w\1\s\DXC\include\llvm/IR/Type.h:174!

Steps to Reproduce
https://godbolt.org/z/GMafYrfj9

If we just compile with ps_6_8 instead:
https://godbolt.org/z/eK91GGPe8

Actual Behavior
Since this actual shader do compile with shader model 6.8, I would expect to compile on 6.9 as well otherwise, the error should point to proper line number.

Environment

  • DXC version 1.8.2505.32
  • Host Operating System Windows 11 Version 23H2 (OS Build 22631.6060)

Metadata

Metadata

Assignees

Labels

bugBug, regression, crash

Type

No type

Projects

Status

Triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions