| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 23 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %main "main" |
| OpExecutionMode %main LocalSize 1 1 1 |
| OpName %str "str" |
| OpMemberName %str 0 "i" |
| OpName %func_F_i "func_F_i" |
| OpName %pointer "pointer" |
| OpName %main "main" |
| OpName %F "F" |
| OpMemberDecorate %str 0 Offset 0 |
| %void = OpTypeVoid |
| %float = OpTypeFloat 32 |
| %v4float = OpTypeVector %float 4 |
| %str = OpTypeStruct %v4float |
| %_ptr_Function_str = OpTypePointer Function %str |
| %1 = OpTypeFunction %void %_ptr_Function_str |
| %uint = OpTypeInt 32 0 |
| %uint_0 = OpConstant %uint 0 |
| %_ptr_Function_v4float = OpTypePointer Function %v4float |
| %15 = OpConstantNull %v4float |
| %16 = OpTypeFunction %void |
| %20 = OpConstantNull %str |
| %func_F_i = OpFunction %void None %1 |
| %pointer = OpFunctionParameter %_ptr_Function_str |
| %9 = OpLabel |
| %14 = OpAccessChain %_ptr_Function_v4float %pointer %uint_0 |
| OpStore %14 %15 |
| OpReturn |
| OpFunctionEnd |
| %main = OpFunction %void None %16 |
| %18 = OpLabel |
| %F = OpVariable %_ptr_Function_str Function %20 |
| %21 = OpFunctionCall %void %func_F_i %F |
| OpReturn |
| OpFunctionEnd |