| struct tint_module_vars_struct { |
| device half* prevent_dce; |
| struct vertex_main_outputs { |
| float4 VertexOutput_pos [[position]]; |
| half VertexOutput_prevent_dce [[user(locn0)]] [[flat]]; |
| half3 arg_0 = half3(0.0h); |
| half res = length(arg_0); |
| fragment void fragment_main(device half* prevent_dce [[buffer(0)]]) { |
| tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.prevent_dce=prevent_dce}; |
| (*tint_module_vars.prevent_dce) = length_ba16d6(); |
| kernel void compute_main(device half* prevent_dce [[buffer(0)]]) { |
| tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.prevent_dce=prevent_dce}; |
| (*tint_module_vars.prevent_dce) = length_ba16d6(); |
| VertexOutput vertex_main_inner() { |
| out.prevent_dce = length_ba16d6(); |
| vertex vertex_main_outputs vertex_main() { |
| VertexOutput const v = vertex_main_inner(); |
| return vertex_main_outputs{.VertexOutput_pos=v.pos, .VertexOutput_prevent_dce=v.prevent_dce}; |