| Issue | 175808 |
|---|---|
| Summary | [HLSL] Add Matrix splat support for booleans |
| Labels | HLSL |
| Assignees | Icohedron |
| Reporter | Icohedron |
Booleans should be able to be used to initialize matrices
Example: https://godbolt.org/z/KEc39aWEG
```hlsl
export bool4x4 fn() {
bool4x4 result = true;
return result;
}
export bool4x4 f2() {
bool4x4 result = false;
return result;
}
```
_______________________________________________ llvm-bugs mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
