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