Skip to content

Commit e805754

Browse files
committed
remove double and int spv sema tests
1 parent c106024 commit e805754

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

clang/test/SemaSPIRV/BuiltIns/smoothstep-errors.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,3 @@ float2 test_too_many_arg(float2 p0) {
1616
return __builtin_spirv_smoothstep(p0, p0, p0, p0);
1717
// expected-error@-1 {{too many arguments to function call, expected 3, have 4}}
1818
}
19-
20-
float test_double_scalar_inputs(double p0, double p1, double p2) {
21-
return __builtin_spirv_smoothstep(p0, p1, p2);
22-
// expected-error@-1 {{passing 'double' to parameter of incompatible type '__attribute__((__vector_size__(2 * sizeof(double)))) double' (vector of 2 'double' values)}}
23-
}
24-
25-
float test_int_scalar_inputs(int p0, int p1, int p2) {
26-
return __builtin_spirv_smoothstep(p0, p1, p2);
27-
// expected-error@-1 {{passing 'int' to parameter of incompatible type '__attribute__((__vector_size__(2 * sizeof(int)))) int' (vector of 2 'int' values)}}
28-
}

0 commit comments

Comments
 (0)