| struct VertexOutput { |
| float4 pos; |
| float prevent_dce; |
| }; |
| |
| struct vertex_main_outputs { |
| nointerpolation float VertexOutput_prevent_dce : TEXCOORD0; |
| float4 VertexOutput_pos : SV_Position; |
| }; |
| |
| |
| RWByteAddressBuffer prevent_dce : register(u0); |
| Texture2D arg_0 : register(t0, space1); |
| float textureLoad_19cf87() { |
| uint3 v = (0u).xxx; |
| arg_0.GetDimensions(0u, v.x, v.y, v.z); |
| uint v_1 = min(uint(int(1)), (v.z - 1u)); |
| uint3 v_2 = (0u).xxx; |
| arg_0.GetDimensions(uint(v_1), v_2.x, v_2.y, v_2.z); |
| uint2 v_3 = (v_2.xy - (1u).xx); |
| int2 v_4 = int2(min(uint2((int(1)).xx), v_3)); |
| float res = arg_0.Load(int3(v_4, int(v_1))).x; |
| return res; |
| } |
| |
| void fragment_main() { |
| prevent_dce.Store(0u, asuint(textureLoad_19cf87())); |
| } |
| |
| [numthreads(1, 1, 1)] |
| void compute_main() { |
| prevent_dce.Store(0u, asuint(textureLoad_19cf87())); |
| } |
| |
| VertexOutput vertex_main_inner() { |
| VertexOutput tint_symbol = (VertexOutput)0; |
| tint_symbol.pos = (0.0f).xxxx; |
| tint_symbol.prevent_dce = textureLoad_19cf87(); |
| VertexOutput v_5 = tint_symbol; |
| return v_5; |
| } |
| |
| vertex_main_outputs vertex_main() { |
| VertexOutput v_6 = vertex_main_inner(); |
| vertex_main_outputs v_7 = {v_6.prevent_dce, v_6.pos}; |
| return v_7; |
| } |
| |