blob: c706fddd8bf58c292ffa55f4f3a1a6a26a277dc4 [file] [log] [blame]
dan sinclair8f1d2762024-07-31 02:35:40 +00001struct VertexOutput {
2 float4 pos;
3 int4 prevent_dce;
4};
dan sinclair69313792024-06-13 20:35:21 +00005
dan sinclair8f1d2762024-07-31 02:35:40 +00006struct vertex_main_outputs {
7 nointerpolation int4 VertexOutput_prevent_dce : TEXCOORD0;
8 float4 VertexOutput_pos : SV_Position;
9};
10
11
12RWByteAddressBuffer prevent_dce : register(u0);
13Texture2DArray<int4> arg_1 : register(t1, space1);
14SamplerState arg_2 : register(s2, space1);
15int4 textureGather_445793() {
16 Texture2DArray<int4> v = arg_1;
17 SamplerState v_1 = arg_2;
Antonio Maioranod032c622024-09-19 18:20:54 +000018 int4 res = v.GatherGreen(v_1, float3((1.0f).xx, float(int(1))));
dan sinclair8f1d2762024-07-31 02:35:40 +000019 return res;
20}
21
22void fragment_main() {
23 prevent_dce.Store4(0u, asuint(textureGather_445793()));
24}
25
26[numthreads(1, 1, 1)]
27void compute_main() {
28 prevent_dce.Store4(0u, asuint(textureGather_445793()));
29}
30
31VertexOutput vertex_main_inner() {
32 VertexOutput tint_symbol = (VertexOutput)0;
33 tint_symbol.pos = (0.0f).xxxx;
34 tint_symbol.prevent_dce = textureGather_445793();
35 VertexOutput v_2 = tint_symbol;
36 return v_2;
37}
38
39vertex_main_outputs vertex_main() {
40 VertexOutput v_3 = vertex_main_inner();
41 VertexOutput v_4 = v_3;
42 VertexOutput v_5 = v_3;
43 vertex_main_outputs v_6 = {v_5.prevent_dce, v_4.pos};
44 return v_6;
45}
46