| ; 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 %P "P" |
| OpName %func_F_i "func_F_i" |
| OpName %pointer "pointer" |
| OpName %main "main" |
| OpMemberDecorate %str 0 Offset 0 |
| %float = OpTypeFloat 32 |
| %v4float = OpTypeVector %float 4 |
| %str = OpTypeStruct %v4float |
| %_ptr_Private_str = OpTypePointer Private %str |
| %6 = OpConstantNull %str |
| %P = OpVariable %_ptr_Private_str Private %6 |
| %7 = OpTypeFunction %v4float %_ptr_Private_str |
| %uint = OpTypeInt 32 0 |
| %uint_0 = OpConstant %uint 0 |
| %_ptr_Private_v4float = OpTypePointer Private %v4float |
| %void = OpTypeVoid |
| %17 = OpTypeFunction %void |
| %func_F_i = OpFunction %v4float None %7 |
| %pointer = OpFunctionParameter %_ptr_Private_str |
| %10 = OpLabel |
| %15 = OpAccessChain %_ptr_Private_v4float %pointer %uint_0 |
| %16 = OpLoad %v4float %15 |
| OpReturnValue %16 |
| OpFunctionEnd |
| %main = OpFunction %void None %17 |
| %20 = OpLabel |
| %21 = OpFunctionCall %v4float %func_F_i %P |
| OpReturn |
| OpFunctionEnd |