@@ -16,13 +16,13 @@ void main() {
16
16
Out0[0] = mad(M0[0], A0[0], B0[0]);
17
17
Out0[1] = int64_t4(mad(M0[1].xyz, A0[1].xyz, B0[1].xyz), mad(M0[1].w, A0[1].w, B0[1].w));
18
18
Out0[2] = int64_t4(mad(M0[2].xy, A0[2].xy, B0[2].xy), mad(M0[2].zw, A0[2].zw, B0[2].zw));
19
- Out0[3] = mad(int64_t4(-9223372036854775808 , -256, 9223372036854775807, -9223372036854775808 ), int4 (1, -512, 1, 1 ), int4 (0, 0, 1, -1));
19
+ Out0[3] = mad(int64_t4(-9223372036854775807 , -256, 9223372036854775807, -4611686018427387904 ), int64_t4 (1, -512, 1, 2 ), int64_t4 (0, 0, 1, -1));
20
20
21
21
// uint64_t
22
22
Out1[0] = mad(M1[0], A1[0], B1[0]);
23
23
Out1[1] = uint64_t4(mad(M1[1].xyz, A1[1].xyz, B1[1].xyz), mad(M1[1].w, A1[1].w, B1[1].w));
24
24
Out1[2] = uint64_t4(mad(M1[2].xy, A1[2].xy, B1[2].xy), mad(M1[2].zw, A1[2].zw, B1[2].zw));
25
- Out1[3] = mad(uint64_t4(2, 16, 4294967296, 18446744073709551615 ), uint64_t4(2, 16, 4294967296, 1 ), uint64_t4(1, 15, 1, 1));
25
+ Out1[3] = mad(uint64_t4(2, 16, 4294967296, 6148914691236517205 ), uint64_t4(2, 16, 4294967296, 3 ), uint64_t4(1, 15, 1, 1));
26
26
}
27
27
//--- pipeline.yaml
28
28
@@ -35,7 +35,7 @@ Buffers:
35
35
- Name: M0
36
36
Format: Int64
37
37
Stride: 8
38
- Data: [ -9223372036854775808 , -256, -1, 0, 1, 2, 16, 9223372036854775807, 1, -1, 1, 10 ]
38
+ Data: [ -9223372036854775807 , -256, -1, 0, 1, 2, 16, 9223372036854775807, 1, -1, 1, 10 ]
39
39
- Name: A0
40
40
Format: Int64
41
41
Stride: 8
@@ -63,7 +63,7 @@ Buffers:
63
63
- Name: ExpectedOut0
64
64
Format: Int64
65
65
Stride: 32
66
- Data: [ -9223372036854775808 , 131072, 1, 0, 2, 9, 257, 255, 9223372036854775807, -9223372036854775807, 0, -1000, -9223372036854775808 , 131072, -9223372036854775808, 9223372036854775807 ]
66
+ Data: [ -9223372036854775807 , 131072, 1, 0, 2, 9, 257, 255, 9223372036854775807, -9223372036854775807, 0, -1000, -9223372036854775807 , 131072, -9223372036854775808, 9223372036854775807 ]
67
67
- Name: Out1
68
68
Format: UInt64
69
69
Stride: 32
@@ -143,6 +143,7 @@ DescriptorSets:
143
143
144
144
# TODO: https://github.com/llvm/llvm-project/issues/152220
145
145
# XFAIL: Clang-DirectX
146
+ # XFAIL: Clang-Metal
146
147
147
148
# REQUIRES: Int64
148
149
# RUN: split-file %s %t
0 commit comments