Issue 168960
Summary [Matrix] Implement a ICK_HLSL_Matrix_Splat
Labels new issue
Assignees
Reporter farzonl
    Because there is no `ICK_HLSL_Matrix_Splat` and there is a `ICK_HLSL_Vector_Splat` We have a case where something should be ambigious and it is not. The case looks like this:
https://godbolt.org/z/haaW4c6Pa

```hlsl
void matOrVec(float4 F) {}
void matOrVec(float2x2 F) {}

export void Case9() {
#if ERROR
 matOrVec(2.0); // Ambiguous!
#endif
}
```
To fix this we need to implement a matrix splat.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to