blob: 8bddd49b9fa611ecccecc287ef3948ddd6838a0e [file] [log] [blame]
Antonio Maiorano3ffdc9a2024-08-14 20:30:30 +00001struct VertexOutput {
2 float4 pos;
3 uint4 prevent_dce;
4};
dan sinclair69313792024-06-13 20:35:21 +00005
Antonio Maiorano3ffdc9a2024-08-14 20:30:30 +00006struct vertex_main_outputs {
7 nointerpolation uint4 VertexOutput_prevent_dce : TEXCOORD0;
8 float4 VertexOutput_pos : SV_Position;
9};
10
11
12RWByteAddressBuffer prevent_dce : register(u0);
13Texture2D<uint4> arg_0 : register(t0, space1);
14uint4 textureLoad_ecc823() {
Antonio Maioranod032c622024-09-19 18:20:54 +000015 int2 arg_1 = (int(1)).xx;
Antonio Maiorano3ffdc9a2024-08-14 20:30:30 +000016 Texture2D<uint4> v = arg_0;
Antonio Maioranod032c622024-09-19 18:20:54 +000017 uint4 res = uint4(v.Load(int3(int2(arg_1), int(0))));
Antonio Maiorano3ffdc9a2024-08-14 20:30:30 +000018 return res;
19}
20
21void fragment_main() {
22 prevent_dce.Store4(0u, textureLoad_ecc823());
23}
24
25[numthreads(1, 1, 1)]
26void compute_main() {
27 prevent_dce.Store4(0u, textureLoad_ecc823());
28}
29
30VertexOutput vertex_main_inner() {
31 VertexOutput tint_symbol = (VertexOutput)0;
32 tint_symbol.pos = (0.0f).xxxx;
33 tint_symbol.prevent_dce = textureLoad_ecc823();
34 VertexOutput v_1 = tint_symbol;
35 return v_1;
36}
37
38vertex_main_outputs vertex_main() {
39 VertexOutput v_2 = vertex_main_inner();
40 VertexOutput v_3 = v_2;
41 VertexOutput v_4 = v_2;
42 vertex_main_outputs v_5 = {v_4.prevent_dce, v_3.pos};
43 return v_5;
44}
45