blob: 59fdfa020fea61aef3ca959cbf6426c54b7a1283 [file] [log] [blame]
Ben Claytonb07a7ce2021-06-03 11:26:17 +00001void max_ce7c30() {
2 int res = max(1, 1);
3}
4
Ben Clayton5d2f34e2021-06-16 09:19:36 +00005struct tint_symbol {
6 float4 value : SV_Position;
7};
8
James Pricea5d73ce2021-08-04 22:15:28 +00009float4 vertex_main_inner() {
Ben Claytonb07a7ce2021-06-03 11:26:17 +000010 max_ce7c30();
Ben Claytone9f8b092022-06-01 13:14:39 +000011 return (0.0f).xxxx;
James Pricea5d73ce2021-08-04 22:15:28 +000012}
13
14tint_symbol vertex_main() {
15 const float4 inner_result = vertex_main_inner();
16 tint_symbol wrapper_result = (tint_symbol)0;
17 wrapper_result.value = inner_result;
18 return wrapper_result;
Ben Claytonb07a7ce2021-06-03 11:26:17 +000019}
20
21void fragment_main() {
22 max_ce7c30();
23 return;
24}
25
26[numthreads(1, 1, 1)]
27void compute_main() {
28 max_ce7c30();
29 return;
30}