blob: 67f0a5cc0d20ecf795e424df55ad1699305a00de [file] [log] [blame]
dan sinclair8f1d2762024-07-31 02:35:40 +00001struct VertexOutput {
2 float4 pos;
3 vector<float16_t, 3> prevent_dce;
4};
dan sinclair69313792024-06-13 20:35:21 +00005
dan sinclair8f1d2762024-07-31 02:35:40 +00006struct vertex_main_outputs {
7 nointerpolation vector<float16_t, 3> VertexOutput_prevent_dce : TEXCOORD0;
8 float4 VertexOutput_pos : SV_Position;
9};
10
11
12RWByteAddressBuffer prevent_dce : register(u0);
13vector<float16_t, 3> log2_38b478() {
14 vector<float16_t, 3> arg_0 = (float16_t(1.0h)).xxx;
15 vector<float16_t, 3> res = log2(arg_0);
16 return res;
17}
18
19void fragment_main() {
20 prevent_dce.Store<vector<float16_t, 3> >(0u, log2_38b478());
21}
22
23[numthreads(1, 1, 1)]
24void compute_main() {
25 prevent_dce.Store<vector<float16_t, 3> >(0u, log2_38b478());
26}
27
28VertexOutput vertex_main_inner() {
29 VertexOutput tint_symbol = (VertexOutput)0;
30 tint_symbol.pos = (0.0f).xxxx;
31 tint_symbol.prevent_dce = log2_38b478();
32 VertexOutput v = tint_symbol;
33 return v;
34}
35
36vertex_main_outputs vertex_main() {
37 VertexOutput v_1 = vertex_main_inner();
38 VertexOutput v_2 = v_1;
39 VertexOutput v_3 = v_1;
40 vertex_main_outputs v_4 = {v_3.prevent_dce, v_2.pos};
41 return v_4;
42}
43