Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7b2d82fa
Commit
7b2d82fa
authored
Aug 09, 2019
by
Matteo Bruni
Committed by
Alexandre Julliard
Aug 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler/tests: Get rid of redundant "failed" in test strings.
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8cacc16a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
50 deletions
+50
-50
hlsl.c
dlls/d3dcompiler_43/tests/hlsl.c
+50
-50
No files found.
dlls/d3dcompiler_43/tests/hlsl.c
View file @
7b2d82fa
...
...
@@ -300,7 +300,7 @@ static void test_swizzle(IDirect3DDevice9 *device, IDirect3DVertexBuffer9 *quad_
{
static
const
struct
hlsl_probe_info
probes
[]
=
{
{
0
,
0
,
{
0
.
0101
f
,
0
.
0303
f
,
0
.
0202
f
,
0
.
0404
f
},
0
.
0001
f
,
"swizzle_test
failed
"
}
{
0
,
0
,
{
0
.
0101
f
,
0
.
0303
f
,
0
.
0202
f
,
0
.
0404
f
},
0
.
0001
f
,
"swizzle_test"
}
};
static
const
char
*
swizzle_test_shader
=
...
...
@@ -338,7 +338,7 @@ static void test_math(IDirect3DDevice9 *device, IDirect3DVertexBuffer9 *quad_geo
static
const
struct
hlsl_probe_info
probes
[]
=
{
{
0
,
0
,
{
-
12
.
4300
f
,
9
.
8333
f
,
1
.
6000
f
,
34
.
9999
f
},
0
.
0001
f
,
"order of operations test
failed
"
}
"order of operations test"
}
};
static
const
char
*
order_of_operations_shader
=
...
...
@@ -377,12 +377,12 @@ static void test_conditionals(IDirect3DDevice9 *device, IDirect3DVertexBuffer9 *
{
static
const
struct
hlsl_probe_info
if_greater_probes
[]
=
{
{
0
,
0
,
{
0
.
9
f
,
0
.
8
f
,
0
.
7
f
,
0
.
6
f
},
0
.
0001
f
,
"if greater test
failed
"
},
{
5
,
0
,
{
0
.
9
f
,
0
.
8
f
,
0
.
7
f
,
0
.
6
f
},
0
.
0001
f
,
"if greater test
failed
"
},
{
10
,
0
,
{
0
.
9
f
,
0
.
8
f
,
0
.
7
f
,
0
.
6
f
},
0
.
0001
f
,
"if greater test
failed
"
},
{
15
,
0
,
{
0
.
9
f
,
0
.
8
f
,
0
.
7
f
,
0
.
6
f
},
0
.
0001
f
,
"if greater test
failed
"
},
{
25
,
0
,
{
0
.
1
f
,
0
.
2
f
,
0
.
3
f
,
0
.
4
f
},
0
.
0001
f
,
"if greater test
failed
"
},
{
30
,
0
,
{
0
.
1
f
,
0
.
2
f
,
0
.
3
f
,
0
.
4
f
},
0
.
0001
f
,
"if greater test
failed
"
}
{
0
,
0
,
{
0
.
9
f
,
0
.
8
f
,
0
.
7
f
,
0
.
6
f
},
0
.
0001
f
,
"if greater test"
},
{
5
,
0
,
{
0
.
9
f
,
0
.
8
f
,
0
.
7
f
,
0
.
6
f
},
0
.
0001
f
,
"if greater test"
},
{
10
,
0
,
{
0
.
9
f
,
0
.
8
f
,
0
.
7
f
,
0
.
6
f
},
0
.
0001
f
,
"if greater test"
},
{
15
,
0
,
{
0
.
9
f
,
0
.
8
f
,
0
.
7
f
,
0
.
6
f
},
0
.
0001
f
,
"if greater test"
},
{
25
,
0
,
{
0
.
1
f
,
0
.
2
f
,
0
.
3
f
,
0
.
4
f
},
0
.
0001
f
,
"if greater test"
},
{
30
,
0
,
{
0
.
1
f
,
0
.
2
f
,
0
.
3
f
,
0
.
4
f
},
0
.
0001
f
,
"if greater test"
}
};
static
const
char
*
if_greater_shader
=
...
...
@@ -396,14 +396,14 @@ static void test_conditionals(IDirect3DDevice9 *device, IDirect3DVertexBuffer9 *
static
const
struct
hlsl_probe_info
ternary_operator_probes
[]
=
{
{
0
,
0
,
{
0
.
50
f
,
0
.
25
f
,
0
.
50
f
,
0
.
75
f
},
0
.
00001
f
,
"ternary operator test
failed
"
},
{
1
,
0
,
{
0
.
50
f
,
0
.
25
f
,
0
.
50
f
,
0
.
75
f
},
0
.
00001
f
,
"ternary operator test
failed
"
},
{
2
,
0
,
{
0
.
50
f
,
0
.
25
f
,
0
.
50
f
,
0
.
75
f
},
0
.
00001
f
,
"ternary operator test
failed
"
},
{
3
,
0
,
{
0
.
50
f
,
0
.
25
f
,
0
.
50
f
,
0
.
75
f
},
0
.
00001
f
,
"ternary operator test
failed
"
},
{
4
,
0
,
{
0
.
60
f
,
0
.
80
f
,
0
.
10
f
,
0
.
20
f
},
0
.
00001
f
,
"ternary operator test
failed
"
},
{
5
,
0
,
{
0
.
60
f
,
0
.
80
f
,
0
.
10
f
,
0
.
20
f
},
0
.
00001
f
,
"ternary operator test
failed
"
},
{
6
,
0
,
{
0
.
60
f
,
0
.
80
f
,
0
.
10
f
,
0
.
20
f
},
0
.
00001
f
,
"ternary operator test
failed
"
},
{
7
,
0
,
{
0
.
60
f
,
0
.
80
f
,
0
.
10
f
,
0
.
20
f
},
0
.
00001
f
,
"ternary operator test
failed
"
}
{
0
,
0
,
{
0
.
50
f
,
0
.
25
f
,
0
.
50
f
,
0
.
75
f
},
0
.
00001
f
,
"ternary operator test"
},
{
1
,
0
,
{
0
.
50
f
,
0
.
25
f
,
0
.
50
f
,
0
.
75
f
},
0
.
00001
f
,
"ternary operator test"
},
{
2
,
0
,
{
0
.
50
f
,
0
.
25
f
,
0
.
50
f
,
0
.
75
f
},
0
.
00001
f
,
"ternary operator test"
},
{
3
,
0
,
{
0
.
50
f
,
0
.
25
f
,
0
.
50
f
,
0
.
75
f
},
0
.
00001
f
,
"ternary operator test"
},
{
4
,
0
,
{
0
.
60
f
,
0
.
80
f
,
0
.
10
f
,
0
.
20
f
},
0
.
00001
f
,
"ternary operator test"
},
{
5
,
0
,
{
0
.
60
f
,
0
.
80
f
,
0
.
10
f
,
0
.
20
f
},
0
.
00001
f
,
"ternary operator test"
},
{
6
,
0
,
{
0
.
60
f
,
0
.
80
f
,
0
.
10
f
,
0
.
20
f
},
0
.
00001
f
,
"ternary operator test"
},
{
7
,
0
,
{
0
.
60
f
,
0
.
80
f
,
0
.
10
f
,
0
.
20
f
},
0
.
00001
f
,
"ternary operator test"
}
};
static
const
char
*
ternary_operator_shader
=
...
...
@@ -441,7 +441,7 @@ static void test_float_vectors(IDirect3DDevice9 *device, IDirect3DVertexBuffer9
{
static
const
struct
hlsl_probe_info
vec4_indexing_test1_probes
[]
=
{
{
0
,
0
,
{
0
.
020
f
,
0
.
245
f
,
0
.
351
f
,
1
.
000
f
},
0
.
0001
f
,
"vec4 indexing test 1
failed
"
}
{
0
,
0
,
{
0
.
020
f
,
0
.
245
f
,
0
.
351
f
,
1
.
000
f
},
0
.
0001
f
,
"vec4 indexing test 1"
}
};
static
const
char
*
vec4_indexing_test1_shader
=
...
...
@@ -457,7 +457,7 @@ static void test_float_vectors(IDirect3DDevice9 *device, IDirect3DVertexBuffer9
static
const
struct
hlsl_probe_info
vec4_indexing_test2_probes
[]
=
{
{
0
,
0
,
{
0
.
5
f
,
0
.
3
f
,
0
.
8
f
,
0
.
2
f
},
0
.
0001
f
,
"vec4 indexing test 2
failed
"
}
{
0
,
0
,
{
0
.
5
f
,
0
.
3
f
,
0
.
8
f
,
0
.
2
f
},
0
.
0001
f
,
"vec4 indexing test 2"
}
};
/* We have this uniform i here so the compiler can't optimize */
...
...
@@ -502,38 +502,38 @@ static void test_trig(IDirect3DDevice9 *device, IDirect3DVertexBuffer9 *quad_geo
{
static
const
struct
hlsl_probe_info
sincos_probes
[]
=
{
{
0
,
0
,
{
0
.
5000
f
,
1
.
0000
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
1
,
0
,
{
0
.
5975
f
,
0
.
9904
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
2
,
0
,
{
0
.
6913
f
,
0
.
9620
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
3
,
0
,
{
0
.
7778
f
,
0
.
9160
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
4
,
0
,
{
0
.
8536
f
,
0
.
8536
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
5
,
0
,
{
0
.
9157
f
,
0
.
7778
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
6
,
0
,
{
0
.
9620
f
,
0
.
6913
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
7
,
0
,
{
0
.
9904
f
,
0
.
5975
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
8
,
0
,
{
1
.
0000
f
,
0
.
5000
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
9
,
0
,
{
0
.
9904
f
,
0
.
4025
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
10
,
0
,
{
0
.
9619
f
,
0
.
3087
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
11
,
0
,
{
0
.
9157
f
,
0
.
2222
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
12
,
0
,
{
0
.
8536
f
,
0
.
1464
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
13
,
0
,
{
0
.
7778
f
,
0
.
0843
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
14
,
0
,
{
0
.
6913
f
,
0
.
03
81
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
15
,
0
,
{
0
.
5975
f
,
0
.
00
96
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
16
,
0
,
{
0
.
5000
f
,
0
.
0000
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
17
,
0
,
{
0
.
4025
f
,
0
.
00
96
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
18
,
0
,
{
0
.
3087
f
,
0
.
03
81
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
19
,
0
,
{
0
.
2222
f
,
0
.
0843
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
20
,
0
,
{
0
.
1464
f
,
0
.
1464
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
21
,
0
,
{
0
.
0843
f
,
0
.
2222
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
22
,
0
,
{
0
.
03
81
f
,
0
.
3087
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
23
,
0
,
{
0
.
00
96
f
,
0
.
4025
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
24
,
0
,
{
0
.
0000
f
,
0
.
5000
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
25
,
0
,
{
0
.
00
96
f
,
0
.
5975
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
26
,
0
,
{
0
.
03
81
f
,
0
.
6913
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
27
,
0
,
{
0
.
0843
f
,
0
.
7778
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
28
,
0
,
{
0
.
1464
f
,
0
.
8536
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
29
,
0
,
{
0
.
2222
f
,
0
.
9157
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
30
,
0
,
{
0
.
3087
f
,
0
.
9619
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
31
,
0
,
{
0
.
4025
f
,
0
.
9904
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test
failed
"
},
{
0
,
0
,
{
0
.
5000
f
,
1
.
0000
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
1
,
0
,
{
0
.
5975
f
,
0
.
9904
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
2
,
0
,
{
0
.
6913
f
,
0
.
9620
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
3
,
0
,
{
0
.
7778
f
,
0
.
9160
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
4
,
0
,
{
0
.
8536
f
,
0
.
8536
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
5
,
0
,
{
0
.
9157
f
,
0
.
7778
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
6
,
0
,
{
0
.
9620
f
,
0
.
6913
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
7
,
0
,
{
0
.
9904
f
,
0
.
5975
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
8
,
0
,
{
1
.
0000
f
,
0
.
5000
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
9
,
0
,
{
0
.
9904
f
,
0
.
4025
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
10
,
0
,
{
0
.
9619
f
,
0
.
3087
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
11
,
0
,
{
0
.
9157
f
,
0
.
2222
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
12
,
0
,
{
0
.
8536
f
,
0
.
1464
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
13
,
0
,
{
0
.
7778
f
,
0
.
0843
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
14
,
0
,
{
0
.
6913
f
,
0
.
03
81
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
15
,
0
,
{
0
.
5975
f
,
0
.
00
96
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
16
,
0
,
{
0
.
5000
f
,
0
.
0000
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
17
,
0
,
{
0
.
4025
f
,
0
.
00
96
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
18
,
0
,
{
0
.
3087
f
,
0
.
03
81
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
19
,
0
,
{
0
.
2222
f
,
0
.
0843
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
20
,
0
,
{
0
.
1464
f
,
0
.
1464
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
21
,
0
,
{
0
.
0843
f
,
0
.
2222
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
22
,
0
,
{
0
.
03
81
f
,
0
.
3087
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
23
,
0
,
{
0
.
00
96
f
,
0
.
4025
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
24
,
0
,
{
0
.
0000
f
,
0
.
5000
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
25
,
0
,
{
0
.
00
96
f
,
0
.
5975
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
26
,
0
,
{
0
.
03
81
f
,
0
.
6913
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
27
,
0
,
{
0
.
0843
f
,
0
.
7778
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
28
,
0
,
{
0
.
1464
f
,
0
.
8536
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
29
,
0
,
{
0
.
2222
f
,
0
.
9157
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
30
,
0
,
{
0
.
3087
f
,
0
.
9619
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
{
31
,
0
,
{
0
.
4025
f
,
0
.
9904
f
,
0
.
0
f
,
0
.
0
f
},
0
.
001
f
,
"sin/cos test"
},
};
static
const
char
*
sincos_shader
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment