@@ -62,42 +62,42 @@ float2 test_lerp_element_type_mismatch(half2 p0, float2 p1) {
6262
6363float2  test_builtin_lerp_float2_splat (float  p0, float2  p1) {
6464  return  __builtin_hlsl_lerp (p0, p1, p1);
65-   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must be vectors }} 
65+   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must have the same type }} 
6666}
6767
6868float2  test_builtin_lerp_float2_splat2 (double  p0, double2  p1) {
6969  return  __builtin_hlsl_lerp (p1, p0, p1);
70-   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must be vectors }} 
70+   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must have the same type }} 
7171}
7272
7373float2  test_builtin_lerp_float2_splat3 (double  p0, double2  p1) {
7474  return  __builtin_hlsl_lerp (p1, p1, p0);
75-   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must be vectors }} 
75+   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must have the same type }} 
7676}
7777
7878float3  test_builtin_lerp_float3_splat (float  p0, float3  p1) {
7979  return  __builtin_hlsl_lerp (p0, p1, p1);
80-   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must be vectors }} 
80+   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must have the same type }} 
8181}
8282
8383float4  test_builtin_lerp_float4_splat (float  p0, float4  p1) {
8484  return  __builtin_hlsl_lerp (p0, p1, p1);
85-   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must be vectors }} 
85+   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must have the same type }} 
8686}
8787
8888float2  test_lerp_float2_int_splat (float2  p0, int  p1) {
8989  return  __builtin_hlsl_lerp (p0, p1, p1);
90-   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must be vectors }} 
90+   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must have the same type }} 
9191}
9292
9393float3  test_lerp_float3_int_splat (float3  p0, int  p1) {
9494  return  __builtin_hlsl_lerp (p0, p1, p1);
95-   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must be vectors }} 
95+   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must have the same type }} 
9696}
9797
9898float2  test_builtin_lerp_int_vect_to_float_vec_promotion (int2  p0, float  p1) {
9999  return  __builtin_hlsl_lerp (p0, p1, p1);
100-   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must be vectors }} 
100+   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must have the same type }} 
101101}
102102
103103float  test_builtin_lerp_bool_type_promotion (bool  p0) {
@@ -107,17 +107,17 @@ float test_builtin_lerp_bool_type_promotion(bool p0) {
107107
108108float  builtin_bool_to_float_type_promotion (float  p0, bool  p1) {
109109  return  __builtin_hlsl_lerp (p0, p0, p1);
110-   // expected-error@-1 {{3rd argument must be a scalar or vector of floating-point types (was 'bool') }} 
110+   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must have the same type }} 
111111}
112112
113113float  builtin_bool_to_float_type_promotion2 (bool  p0, float  p1) {
114114  return  __builtin_hlsl_lerp (p1, p0, p1);
115-   // expected-error@-1 {{2nd argument must be a scalar or vector of floating-point types (was 'bool') }} 
115+   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must have the same type }} 
116116}
117117
118118float  builtin_lerp_int_to_float_promotion (float  p0, int  p1) {
119119  return  __builtin_hlsl_lerp (p0, p0, p1);
120-   // expected-error@-1 {{3rd argument must be a scalar or vector of floating-point types (was 'int') }} 
120+   // expected-error@-1 {{all arguments to '__builtin_hlsl_lerp' must have the same type }} 
121121}
122122
123123float4  test_lerp_int4 (int4  p0, int4  p1, int4  p2) {
0 commit comments