Skip to content

Commit ec75e67

Browse files
committed
update lerp builtin test
1 parent 4ba820a commit ec75e67

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple dxil-pc-shadermodel6.3-library %s -fnative-half-type -emit-llvm -disable-llvm-passes -o - | FileCheck %s
22

33
// CHECK-LABEL: builtin_lerp_half_vector
4-
// CHECK: %dx.lerp = call <3 x half> @llvm.dx.lerp.v3f16(<3 x half> %0, <3 x half> %1, <3 x half> %2)
5-
// CHECK: ret <3 x half> %dx.lerp
4+
// CHECK: %hlsl.lerp = call <3 x half> @llvm.dx.lerp.v3f16(<3 x half> %0, <3 x half> %1, <3 x half> %2)
5+
// CHECK: ret <3 x half> %hlsl.lerp
66
half3 builtin_lerp_half_vector (half3 p0) {
77
return __builtin_hlsl_lerp ( p0, p0, p0 );
88
}
99

1010
// CHECK-LABEL: builtin_lerp_floar_vector
11-
// CHECK: %dx.lerp = call <2 x float> @llvm.dx.lerp.v2f32(<2 x float> %0, <2 x float> %1, <2 x float> %2)
12-
// CHECK: ret <2 x float> %dx.lerp
11+
// CHECK: %hlsl.lerp = call <2 x float> @llvm.dx.lerp.v2f32(<2 x float> %0, <2 x float> %1, <2 x float> %2)
12+
// CHECK: ret <2 x float> %hlsl.lerp
1313
float2 builtin_lerp_floar_vector ( float2 p0) {
1414
return __builtin_hlsl_lerp ( p0, p0, p0 );
1515
}

0 commit comments

Comments
 (0)