| struct VertexOutput { |
| float4 pos; |
| uint prevent_dce; |
| }; |
| |
| struct vertex_main_outputs { |
| nointerpolation uint VertexOutput_prevent_dce : TEXCOORD0; |
| float4 VertexOutput_pos : SV_Position; |
| }; |
| |
| |
| RWByteAddressBuffer prevent_dce : register(u0); |
| uint pack2x16float_0e97b3() { |
| float2 arg_0 = (1.0f).xx; |
| uint2 v = f32tof16(arg_0); |
| uint res = (v.x | (v.y << 16u)); |
| return res; |
| } |
| |
| void fragment_main() { |
| prevent_dce.Store(0u, pack2x16float_0e97b3()); |
| } |
| |
| [numthreads(1, 1, 1)] |
| void compute_main() { |
| prevent_dce.Store(0u, pack2x16float_0e97b3()); |
| } |
| |
| VertexOutput vertex_main_inner() { |
| VertexOutput tint_symbol = (VertexOutput)0; |
| tint_symbol.pos = (0.0f).xxxx; |
| tint_symbol.prevent_dce = pack2x16float_0e97b3(); |
| VertexOutput v_1 = tint_symbol; |
| return v_1; |
| } |
| |
| vertex_main_outputs vertex_main() { |
| VertexOutput v_2 = vertex_main_inner(); |
| vertex_main_outputs v_3 = {v_2.prevent_dce, v_2.pos}; |
| return v_3; |
| } |
| |