-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Open
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Description
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
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.
Metadata
Metadata
Assignees
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Type
Projects
Status
Planning