blob: 94de44b8033edf4bf96f172788ab0c36c9d37e73 [file] [log] [blame]
Ben Clayton77a90cb2023-03-06 18:25:08 +00001RWByteAddressBuffer prevent_dce : register(u0, space2);
2
Zhaoming Jiang9443ceb2022-08-05 15:15:17 +00003void tan_539e54() {
dan sinclairb77332e2022-11-10 15:55:00 +00004 vector<float16_t, 4> res = (float16_t(1.556640625h)).xxxx;
Ben Clayton77a90cb2023-03-06 18:25:08 +00005 prevent_dce.Store<vector<float16_t, 4> >(0u, res);
Zhaoming Jiang9443ceb2022-08-05 15:15:17 +00006}
7
8struct tint_symbol {
9 float4 value : SV_Position;
10};
11
12float4 vertex_main_inner() {
13 tan_539e54();
14 return (0.0f).xxxx;
15}
16
17tint_symbol vertex_main() {
Antonio Maiorano144ebed2024-01-30 16:30:15 +000018 float4 inner_result = vertex_main_inner();
Zhaoming Jiang9443ceb2022-08-05 15:15:17 +000019 tint_symbol wrapper_result = (tint_symbol)0;
20 wrapper_result.value = inner_result;
21 return wrapper_result;
22}
23
24void fragment_main() {
25 tan_539e54();
26 return;
27}
28
29[numthreads(1, 1, 1)]
30void compute_main() {
31 tan_539e54();
32 return;
33}