Skip to content

Commit dff5181

Browse files
committed
adding new lines to EOF
1 parent 1853e3d commit dff5181

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

clang/test/CodeGenHLSL/builtins/refract.hlsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,4 +353,4 @@ float3 test_refract_float3(float3 I, float3 N, float ETA) {
353353
//
354354
float4 test_refract_float4(float4 I, float4 N, float ETA) {
355355
return refract(I, N, ETA);
356-
}
356+
}

clang/test/CodeGenSPIRV/Builtins/refract.c

-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,3 @@ float3 test_refract_float3(float3 I, float3 N, float eta) { return __builtin_spi
3232
// CHECK-NEXT: ret <4 x float> [[SPV_REFRACT]]
3333
//
3434
float4 test_refract_float4(float4 I, float4 N, float eta) { return __builtin_spirv_refract(I, N, eta); }
35-

clang/test/SemaHLSL/BuiltIns/refract-errors.hlsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ float5 test_vec5_inputs(float5 p0, float5 p1, float p2) {
7171
// expected-note@hlsl/hlsl_intrinsics.h:* {{candidate template ignored: deduced conflicting types for parameter 'T' ('float5' (vector of 5 'float' values) vs. 'float')}}
7272
// expected-note@hlsl/hlsl_intrinsics.h:* {{candidate template ignored: substitution failure [with L = 5]: no type named 'Type' in 'hlsl::__detail::enable_if<false, half>'}}
7373
// expected-note@hlsl/hlsl_intrinsics.h:* {{candidate template ignored: substitution failure [with L = 5]: no type named 'Type' in 'hlsl::__detail::enable_if<false, float>'}}
74-
}
74+
}

llvm/test/CodeGen/SPIRV/hlsl-intrinsics/refract.ll

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ entry:
3434
; CHECK: %[[#]] = OpExtInst %[[#vec4_float_32]] %[[#op_ext_glsl]] Refract %[[#arg0]] %[[#arg1]] %[[#arg2]]
3535
%spv.refract.i = tail call reassoc nnan ninf nsz arcp afn noundef <4 x float> @llvm.spv.refract.v4f32.f64(<4 x float> %I, <4 x float> %N, double %conv.i)
3636
ret <4 x float> %spv.refract.i
37-
}
37+
}

0 commit comments

Comments
 (0)